adding a hackfix for disappearing recyclerview content
This commit is contained in:
parent
bc454195ce
commit
2273fead3e
|
@ -1094,6 +1094,11 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
|
|||
measureRecyclerViewContent(dirsToShow)
|
||||
}
|
||||
}
|
||||
|
||||
// recyclerview sometimes becomes empty at init/update, triggering an invisible refresh like this seems to work fine
|
||||
directories_grid.postDelayed({
|
||||
directories_grid.scrollBy(0, 0)
|
||||
}, 500)
|
||||
}
|
||||
|
||||
private fun setupScrollDirection() {
|
||||
|
|
Loading…
Reference in New Issue