Loading app/src/main/java/foundation/e/apps/search/SearchFragment.kt +1 −4 Original line number Diff line number Diff line Loading @@ -179,7 +179,7 @@ class SearchFragment : searchViewModel.searchResult.observe(viewLifecycleOwner) { Log.e("TAG", "........................................16") if (it.isNullOrEmpty()) { noAppsFoundLayout?.visibility = View.VISIBLE } else { Loading @@ -188,14 +188,11 @@ class SearchFragment : shimmerLayout?.visibility = View.GONE recyclerView?.visibility = View.VISIBLE noAppsFoundLayout?.visibility = View.GONE } recyclerView!!.postDelayed(Runnable { kotlin.run { recyclerView!!.scrollToPosition(0) } }, 1000) } } override fun onResume() { super.onResume() binding.shimmerLayout.startShimmer() Loading Loading
app/src/main/java/foundation/e/apps/search/SearchFragment.kt +1 −4 Original line number Diff line number Diff line Loading @@ -179,7 +179,7 @@ class SearchFragment : searchViewModel.searchResult.observe(viewLifecycleOwner) { Log.e("TAG", "........................................16") if (it.isNullOrEmpty()) { noAppsFoundLayout?.visibility = View.VISIBLE } else { Loading @@ -188,14 +188,11 @@ class SearchFragment : shimmerLayout?.visibility = View.GONE recyclerView?.visibility = View.VISIBLE noAppsFoundLayout?.visibility = View.GONE } recyclerView!!.postDelayed(Runnable { kotlin.run { recyclerView!!.scrollToPosition(0) } }, 1000) } } override fun onResume() { super.onResume() binding.shimmerLayout.startShimmer() Loading