Fixed album artist image not visible in search
This commit is contained in:
parent
4054d89f46
commit
619f3871f2
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue