mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-06-05 22:09:15 +02:00
animate the recyclerview item appearing
This commit is contained in:
@@ -58,7 +58,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.simplemobiletools:commons:5.34.9'
|
implementation 'com.simplemobiletools:commons:5.34.10'
|
||||||
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'
|
||||||
|
@@ -190,6 +190,7 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
|
|||||||
items_list.adapter = this
|
items_list.adapter = this
|
||||||
}
|
}
|
||||||
|
|
||||||
|
items_list.scheduleLayoutAnimation()
|
||||||
items_fastscroller.setViews(items_list, items_swipe_refresh) {
|
items_fastscroller.setViews(items_list, items_swipe_refresh) {
|
||||||
val listItem = getRecyclerAdapter()?.listItems?.getOrNull(it)
|
val listItem = getRecyclerAdapter()?.listItems?.getOrNull(it)
|
||||||
items_fastscroller.updateBubbleText(listItem?.getBubbleText(context, storedDateFormat, storedTimeFormat) ?: "")
|
items_fastscroller.updateBubbleText(listItem?.getBubbleText(context, storedDateFormat, storedTimeFormat) ?: "")
|
||||||
|
@@ -57,6 +57,7 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_below="@+id/breadcrumbs"
|
android:layout_below="@+id/breadcrumbs"
|
||||||
android:clipToPadding="false"
|
android:clipToPadding="false"
|
||||||
|
android:layoutAnimation="@anim/layout_animation"
|
||||||
android:scrollbars="none"
|
android:scrollbars="none"
|
||||||
app:layoutManager="com.simplemobiletools.commons.views.MyGridLayoutManager" />
|
app:layoutManager="com.simplemobiletools.commons.views.MyGridLayoutManager" />
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user