mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-01-31 11:44:49 +01:00
properly measure scrollview at directories adapter setup
This commit is contained in:
parent
9488795de8
commit
1e47a6dd2f
@ -1032,11 +1032,11 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
|
|||||||
if (path != config.tempFolderPath) {
|
if (path != config.tempFolderPath) {
|
||||||
itemClicked(path)
|
itemClicked(path)
|
||||||
}
|
}
|
||||||
measureRecyclerViewContent(dirsToShow)
|
|
||||||
}.apply {
|
}.apply {
|
||||||
setupZoomListener(mZoomListener)
|
setupZoomListener(mZoomListener)
|
||||||
directories_grid.adapter = this
|
directories_grid.adapter = this
|
||||||
}
|
}
|
||||||
|
measureRecyclerViewContent(dirsToShow)
|
||||||
setupScrollDirection()
|
setupScrollDirection()
|
||||||
} else {
|
} else {
|
||||||
if (textToSearch.isNotEmpty()) {
|
if (textToSearch.isNotEmpty()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user