properly measure scrollview at directories adapter setup
This commit is contained in:
parent
9488795de8
commit
1e47a6dd2f
1 changed files with 1 additions and 1 deletions
|
@ -1032,11 +1032,11 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
|
|||
if (path != config.tempFolderPath) {
|
||||
itemClicked(path)
|
||||
}
|
||||
measureRecyclerViewContent(dirsToShow)
|
||||
}.apply {
|
||||
setupZoomListener(mZoomListener)
|
||||
directories_grid.adapter = this
|
||||
}
|
||||
measureRecyclerViewContent(dirsToShow)
|
||||
setupScrollDirection()
|
||||
} else {
|
||||
if (textToSearch.isNotEmpty()) {
|
||||
|
|
Loading…
Reference in a new issue