mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 14:37:59 +01:00
make sure we update the adapter on the main thread
This commit is contained in:
parent
81276cb878
commit
a9bbe65999
1 changed files with 3 additions and 1 deletions
|
@ -984,8 +984,10 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
|
|||
}
|
||||
}.apply {
|
||||
setupZoomListener(mZoomListener)
|
||||
runOnUiThread {
|
||||
directories_grid.adapter = this
|
||||
}
|
||||
}
|
||||
measureRecyclerViewContent(dirsToShow)
|
||||
setupScrollDirection()
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue