Fixed getSectionName
This commit is contained in:
parent
c10d08b862
commit
7068477e23
|
@ -143,8 +143,7 @@ class ArtistRowAdapter(
|
|||
}
|
||||
|
||||
override fun getSectionName(position: Int): String {
|
||||
val listPosition = if (shouldShowHeader) position - 1 else position
|
||||
return getSectionFromName(artistList[listPosition].name ?: " ")
|
||||
return getSectionFromName(artistList[position].name ?: " ")
|
||||
}
|
||||
|
||||
private fun getSectionForArtist(artistPosition: Int): String {
|
||||
|
|
Loading…
Reference in New Issue