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>
|
dirs = newDirs.clone() as ArrayList<Directory>
|
||||||
notifyDataSetChanged()
|
notifyDataSetChanged()
|
||||||
finishActMode()
|
finishActMode()
|
||||||
|
fastScroller?.measureRecyclerView()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -260,6 +260,7 @@ class MediaAdapter(activity: BaseSimpleActivity, var media: MutableList<Medium>,
|
||||||
enableInstantLoad()
|
enableInstantLoad()
|
||||||
notifyDataSetChanged()
|
notifyDataSetChanged()
|
||||||
finishActMode()
|
finishActMode()
|
||||||
|
fastScroller?.measureRecyclerView()
|
||||||
}, 100L)
|
}, 100L)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue