Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a8c80f4d authored by narinder Rana's avatar narinder Rana
Browse files

gradlew lintRelease and refine code

parent ed4334d4
Loading
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -179,7 +179,7 @@ class SearchFragment :

        searchViewModel.searchResult.observe(viewLifecycleOwner) {

            Log.e("TAG", "........................................16")

            if (it.isNullOrEmpty()) {
                noAppsFoundLayout?.visibility = View.VISIBLE
            } else {
@@ -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()