Reputation: 2806
I am using PagedListAdapter and PageKeyedDataSource from android paging library. I want to restore recyclerview position after screen rotates. How can I achieve this? setInitialLoadKey on LivePagedListBuilder doesn't effect to PageKeyedDataSource.
Upvotes: 1
Views: 162
Reputation: 2806
It is not possible to achieve this behavior with PageKeyedDataSource. Instead I have to implement PositionalDataSource
Upvotes: 1