mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-01-05 12:57:35 +01:00
remeasure fastscroller if thumbnail data changes
This commit is contained in:
parent
efd45ba4cc
commit
72c61545d8
@ -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 New Issue
Block a user