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.
Asked
Active
Viewed 156 times
1 Answers
1
It is not possible to achieve this behavior with PageKeyedDataSource. Instead I have to implement PositionalDataSource

Axbor Axrorov
- 2,720
- 2
- 17
- 35