mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-06-05 22:09:15 +02:00
recalculate recyclerview height at using Search
This commit is contained in:
@ -58,7 +58,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.simplemobiletools:commons:5.32.24'
|
implementation 'com.simplemobiletools:commons:5.32.27'
|
||||||
implementation 'com.github.Stericson:RootTools:df729dcb13'
|
implementation 'com.github.Stericson:RootTools:df729dcb13'
|
||||||
implementation 'com.github.Stericson:RootShell:1.6'
|
implementation 'com.github.Stericson:RootShell:1.6'
|
||||||
implementation 'com.alexvasilkov:gesture-views:2.5.2'
|
implementation 'com.alexvasilkov:gesture-views:2.5.2'
|
||||||
|
@ -369,6 +369,11 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
|
|||||||
items_list.beVisibleIf(listItems.isNotEmpty())
|
items_list.beVisibleIf(listItems.isNotEmpty())
|
||||||
items_placeholder.beVisibleIf(listItems.isEmpty())
|
items_placeholder.beVisibleIf(listItems.isEmpty())
|
||||||
items_placeholder_2.beGone()
|
items_placeholder_2.beGone()
|
||||||
|
|
||||||
|
items_list.onGlobalLayout {
|
||||||
|
items_fastscroller.setScrollToY(items_list.computeVerticalScrollOffset())
|
||||||
|
calculateContentHeight(listItems)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user