remeasure fastscroller if thumbnail data changes

This commit is contained in:
tibbi 2018-05-11 10:59:42 +02:00
parent efd45ba4cc
commit 72c61545d8
2 changed files with 2 additions and 0 deletions

View file

@ -400,6 +400,7 @@ class DirectoryAdapter(activity: BaseSimpleActivity, var dirs: ArrayList<Directo
dirs = newDirs.clone() as ArrayList<Directory> dirs = newDirs.clone() as ArrayList<Directory>
notifyDataSetChanged() notifyDataSetChanged()
finishActMode() finishActMode()
fastScroller?.measureRecyclerView()
} }
} }

View file

@ -260,6 +260,7 @@ class MediaAdapter(activity: BaseSimpleActivity, var media: MutableList<Medium>,
enableInstantLoad() enableInstantLoad()
notifyDataSetChanged() notifyDataSetChanged()
finishActMode() finishActMode()
fastScroller?.measureRecyclerView()
}, 100L) }, 100L)
} }
} }