mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 04:57:59 +01:00
remeasure fastscroller if thumbnail data changes
This commit is contained in:
parent
efd45ba4cc
commit
72c61545d8
2 changed files with 2 additions and 0 deletions
|
@ -400,6 +400,7 @@ class DirectoryAdapter(activity: BaseSimpleActivity, var dirs: ArrayList<Directo
|
|||
dirs = newDirs.clone() as ArrayList<Directory>
|
||||
notifyDataSetChanged()
|
||||
finishActMode()
|
||||
fastScroller?.measureRecyclerView()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -260,6 +260,7 @@ class MediaAdapter(activity: BaseSimpleActivity, var media: MutableList<Medium>,
|
|||
enableInstantLoad()
|
||||
notifyDataSetChanged()
|
||||
finishActMode()
|
||||
fastScroller?.measureRecyclerView()
|
||||
}, 100L)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue