setStateRestorationPolicy
open fun setStateRestorationPolicy(@NonNull strategy: RecyclerView.Adapter.StateRestorationPolicy)(source)
Calling this method is an error and will result in an UnsupportedOperationException. ConcatAdapter infers this value from added Adapters.
Parameters
strategy
The saved state restoration strategy for this Adapter such that ConcatAdapter will allow state restoration only if all added adapters allow it or there are no adapters.