restoreState
open fun restoreState(@Nullable state: @Nullable Parcelable, @Nullable loader: @Nullable ClassLoader)
Restore any instance state associated with this adapter and its pages that was previously saved by saveState.
Parameters
state
State previously saved by a call to saveState
loader
A ClassLoader that should be used to instantiate any restored objects