make sure we update the adapter on the main thread

This commit is contained in:
tibbi 2018-12-18 10:00:21 +01:00
parent 81276cb878
commit a9bbe65999

View file

@ -984,8 +984,10 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
}
}.apply {
setupZoomListener(mZoomListener)
runOnUiThread {
directories_grid.adapter = this
}
}
measureRecyclerViewContent(dirsToShow)
setupScrollDirection()
} else {