You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to scroll programmatically to a previous position. I enter the app and then enter in one item on the end of the list. When I go back to the grid I want it to be positioned on the last position.
How can I do that?
Thanks in advance,
The text was updated successfully, but these errors were encountered:
not best way. But, try this method, it is work for me
new Handler().postDelayed(new Runnable() { @OverRide
public void run() {
recyclerView.smoothScrollToPosition(mToPosition);
}
}, 100);
Hi,
I want to scroll programmatically to a previous position. I enter the app and then enter in one item on the end of the list. When I go back to the grid I want it to be positioned on the last position.
How can I do that?
Thanks in advance,
The text was updated successfully, but these errors were encountered: