diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt index b265d2e5e..76d68a1b2 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt @@ -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() {