I have Recycler view which lays inside of SwipeRefreshLayout. Also, have ability to open each item in another activity. After returning back to Recycler I need scroll to cho
The easiest and transition compatible way I found is:
@Override public void onPause() { super.onPause(); recyclerView.setLayoutFrozen(true); } @Override public void onResume() { super.onResume(); recyclerView.setLayoutFrozen(false); }