Fixed album artist image not visible in search

main
Prathamesh More 2021-09-26 17:44:42 +05:30
parent 4054d89f46
commit 619f3871f2
1 changed files with 2 additions and 2 deletions

View File

@ -127,8 +127,8 @@ class SearchAdapter(
val artist = dataSet[position] as Artist val artist = dataSet[position] as Artist
holder.title?.text = artist.name holder.title?.text = artist.name
holder.text?.text = MusicUtil.getArtistInfoString(activity, artist) holder.text?.text = MusicUtil.getArtistInfoString(activity, artist)
GlideApp.with(activity).asDrawable().artistImageOptions(artist).load(artist) GlideApp.with(activity).asDrawable().artistImageOptions(artist).load(
.into(holder.image!!) RetroGlideExtension.getArtistModel(artist)).into(holder.image!!)
} }
else -> { else -> {
holder.title?.text = dataSet[position].toString() holder.title?.text = dataSet[position].toString()