mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 01:53:31 +00:00
Choice of artist image using Last FM as source. TODO: Create preference for source choice
This commit is contained in:
parent
5e15648157
commit
e741cc2ea8
4 changed files with 27 additions and 4 deletions
|
|
@ -49,7 +49,13 @@ public class ArtistSimilarAdapter extends RecyclerView.Adapter<ArtistSimilarAdap
|
|||
holder.textArtistName.setText(MusicUtil.getReadableString(artist.getName()));
|
||||
|
||||
CustomGlideRequest.Builder
|
||||
.from(context, artist.getId(), CustomGlideRequest.ALBUM_PIC, null)
|
||||
.from(
|
||||
context,
|
||||
artist.getId(),
|
||||
// CustomGlideRequest.ARTIST_PIC,
|
||||
artist.getImageUrl(),
|
||||
null
|
||||
)
|
||||
.build()
|
||||
.transform(new RoundedCorners(CustomGlideRequest.CORNER_RADIUS))
|
||||
.into(holder.cover);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue