Skip to content

Commit 7e2c26d

Browse files
committed
animate the recyclerview item appearing
1 parent f68af30 commit 7e2c26d

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ android {
5858
}
5959

6060
dependencies {
61-
implementation 'com.simplemobiletools:commons:5.34.9'
61+
implementation 'com.simplemobiletools:commons:5.34.10'
6262
implementation 'com.github.Stericson:RootTools:df729dcb13'
6363
implementation 'com.github.Stericson:RootShell:1.6'
6464
implementation 'com.alexvasilkov:gesture-views:2.5.2'

app/src/main/kotlin/com/simplemobiletools/filemanager/pro/fragments/ItemsFragment.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
190190
items_list.adapter = this
191191
}
192192

193+
items_list.scheduleLayoutAnimation()
193194
items_fastscroller.setViews(items_list, items_swipe_refresh) {
194195
val listItem = getRecyclerAdapter()?.listItems?.getOrNull(it)
195196
items_fastscroller.updateBubbleText(listItem?.getBubbleText(context, storedDateFormat, storedTimeFormat) ?: "")

app/src/main/res/layout/items_fragment.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
android:layout_height="match_parent"
5858
android:layout_below="@+id/breadcrumbs"
5959
android:clipToPadding="false"
60+
android:layoutAnimation="@anim/layout_animation"
6061
android:scrollbars="none"
6162
app:layoutManager="com.simplemobiletools.commons.views.MyGridLayoutManager" />
6263

0 commit comments

Comments
 (0)