Custom glide builder now also accepts a custom url

This commit is contained in:
CappielloAntonio 2021-08-11 13:05:10 +02:00
parent 231eab549c
commit 8243173e29
24 changed files with 54 additions and 26 deletions

View file

@ -50,7 +50,7 @@ public class AlbumAdapter extends RecyclerView.Adapter<AlbumAdapter.ViewHolder>
holder.textArtistName.setText(MusicUtil.getReadableString(album.getArtistName()));
CustomGlideRequest.Builder
.from(context, album.getPrimary(), CustomGlideRequest.ALBUM_PIC)
.from(context, album.getPrimary(), CustomGlideRequest.ALBUM_PIC, null)
.build()
.transform(new RoundedCorners(CustomGlideRequest.CORNER_RADIUS))
.into(holder.cover);