use blurhash for genre and playlist images
This commit is contained in:
parent
52986be353
commit
71b5108520
4 changed files with 20 additions and 2 deletions
|
|
@ -82,7 +82,7 @@ public class GenreAdapter extends RecyclerView.Adapter<GenreAdapter.ViewHolder>
|
|||
if (holder.image == null) return;
|
||||
|
||||
CustomGlideRequest.Builder
|
||||
.from(activity, genre.id, genre.id)
|
||||
.from(activity, genre.primary, genre.blurHash)
|
||||
.palette().build()
|
||||
.into(new CustomPaletteTarget(holder.image) {
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ public class PlaylistAdapter extends AbsMultiSelectAdapter<PlaylistAdapter.ViewH
|
|||
if (holder.image == null) return;
|
||||
|
||||
CustomGlideRequest.Builder
|
||||
.from(activity, playlist.id, playlist.id)
|
||||
.from(activity, playlist.primary, playlist.blurHash)
|
||||
.palette().build()
|
||||
.into(new CustomPaletteTarget(holder.image) {
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue