From 21df151e657f30ceca6087983916cc9b18c4defc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Tue, 23 Jul 2024 14:10:26 +0900 Subject: [PATCH] =?UTF-8?q?RecyclerViewAnimation=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/one/nem/kidshift/wallet/WalletContentFragment.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/feature/wallet/src/main/java/one/nem/kidshift/wallet/WalletContentFragment.java b/feature/wallet/src/main/java/one/nem/kidshift/wallet/WalletContentFragment.java index 9a71a8b..79084c6 100644 --- a/feature/wallet/src/main/java/one/nem/kidshift/wallet/WalletContentFragment.java +++ b/feature/wallet/src/main/java/one/nem/kidshift/wallet/WalletContentFragment.java @@ -15,6 +15,7 @@ import one.nem.kidshift.data.UserSettings; import one.nem.kidshift.model.HistoryModel; import one.nem.kidshift.utils.FabManager; import one.nem.kidshift.utils.KSLogger; +import one.nem.kidshift.utils.RecyclerViewAnimUtils; import one.nem.kidshift.utils.ToolBarManager; import one.nem.kidshift.utils.factory.KSLoggerFactory; import one.nem.kidshift.utils.models.FabEventCallback; @@ -39,6 +40,8 @@ public class WalletContentFragment extends Fragment { @Inject UserSettings userSettings; + @Inject + RecyclerViewAnimUtils recyclerViewAnimUtils; private KSLogger logger; private String childId; @@ -98,6 +101,7 @@ public class WalletContentFragment extends Fragment { }); RecyclerView historyItemRecyclerView = view.findViewById(R.id.historyItemRecyclerView); + recyclerViewAnimUtils.setSlideUpAnimation(historyItemRecyclerView); historyItemListAdapter = new HistoryItemListAdapter(); historyItemRecyclerView.setAdapter(historyItemListAdapter); historyItemRecyclerView.setLayoutManager(new LinearLayoutManager(requireContext()));