I have RecyclerView
inside Fragment
handled by ViewPager
. How is it made that RecyclerView automatically restore its state after rotation? I thought I have to implement
LayoutManager.onSaveInstanceState()
LayoutManager.onRestoreInstanceState(Parcelable state);
by myself. Is LayoutManager
or RecyclerView
register some kind of onConfigurationChange
receiver?