Fix tablet layout crashing

This commit is contained in:
h4h13 2020-02-17 21:47:47 +05:30
parent f578aa0937
commit d4d9df6ba5
11 changed files with 39 additions and 35 deletions

View file

@ -35,6 +35,10 @@ class ArtistAdapter(
activity, cabHolder, R.menu.menu_media_selection
), PopupTextProvider {
init {
this.setHasStableIds(true)
}
fun swapDataSet(dataSet: List<Artist>) {
this.dataSet = dataSet
notifyDataSetChanged()