WIP Added possibility to switch default image when absent the original one

This commit is contained in:
CappielloAntonio 2021-04-14 14:06:35 +02:00
parent a21a0132bd
commit 2b5a686fe4
23 changed files with 125 additions and 124 deletions

View file

@ -44,7 +44,7 @@ public class ArtistAdapter extends RecyclerView.Adapter<ArtistAdapter.ViewHolder
holder.textArtistName.setText(artist.getName());
CustomGlideRequest.Builder
.from(context, artist.getPrimary(), artist.getPrimaryBlurHash(), CustomGlideRequest.PRIMARY, CustomGlideRequest.TOP_QUALITY)
.from(context, artist.getPrimary(), artist.getPrimaryBlurHash(), CustomGlideRequest.PRIMARY, CustomGlideRequest.TOP_QUALITY, CustomGlideRequest.ARTIST_PIC)
.build()
.into(holder.cover);
}