Open pishguy opened 8 years ago
I'm trying to get and save current RecyclerView scroll position, by this code:
@Override public void onScrollChanged(int scrollY, boolean firstScroll, boolean dragging) { recyclerViewCurrentScrolledPosition = scrollY; }
after get that i'm saving that into SharePreference and i try to set scroll position by this code:
recyclerMarketLists.scrollToPosition(recyclerViewCurrentScrolledPosition);
unfortunately its not working
I'm trying to get and save current RecyclerView scroll position, by this code:
after get that i'm saving that into SharePreference and i try to set scroll position by this code:
unfortunately its not working