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

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

update recyclerview.post to postDelayed for bind recyclerview

parent 9483a092
Loading
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -191,9 +191,7 @@ class SearchFragment :


            }
            recyclerView!!.post { // Call smooth scroll
                recyclerView!!.smoothScrollToPosition(0)
            }
            recyclerView!!.postDelayed(Runnable { kotlin.run { recyclerView!!.scrollToPosition(0) } }, 1000)
        }
    }