Closed MohammadRezaei92 closed 5 years ago
smoothScrollToPosition it works for me... Try too...
I get the position of item that I want to scroll to it and get it to smoothScrollToPosition as parameter but not happened
try call this method on UiThread.. like this example: realmRecyclerView.post(new Runnable() { @Override public void run() { realmRecyclerView.smoothScrollToPosition(adapter.getItemCount()); } });
In my case I need not smoothing scrolling (( but it's not working...
try
realmRecyclerView.getRecycleView().scrollToPosition(position);
Recyclerview.smoothScrollToPosition(Pos); doesn't work.