From 8888c651840bafd9331bdfb3db60a8170a6f4fad Mon Sep 17 00:00:00 2001 From: Jonathan Klee Date: Tue, 19 Nov 2024 08:09:44 +0100 Subject: [PATCH] Show loading ui everytime home page is making requests --- app/src/main/java/foundation/e/apps/ui/home/HomeFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/foundation/e/apps/ui/home/HomeFragment.kt b/app/src/main/java/foundation/e/apps/ui/home/HomeFragment.kt index 7c5e7c9fc..277f5e0a8 100644 --- a/app/src/main/java/foundation/e/apps/ui/home/HomeFragment.kt +++ b/app/src/main/java/foundation/e/apps/ui/home/HomeFragment.kt @@ -186,6 +186,7 @@ class HomeFragment : TimeoutFragment(R.layout.fragment_home), ApplicationInstall } override fun loadData(authObjectList: List) { + showLoadingUI() homeViewModel.loadData(authObjectList, viewLifecycleOwner) { _ -> clearAndRestartGPlayLogin() true @@ -258,7 +259,6 @@ class HomeFragment : TimeoutFragment(R.layout.fragment_home), ApplicationInstall override fun onResume() { super.onResume() - binding.shimmerLayout.startShimmer() appProgressViewModel.downloadProgress.observe(viewLifecycleOwner) { updateProgressOfDownloadingAppItemViews(homeParentRVAdapter, it) } -- GitLab