Library causes crash on Android when trying to refresh.
Steps to reproduce:
Create pager and collect items in view.
Call 'refresh'-function on Pager or on LazyPagingItems (Compose).
Application crashes.
Crash description:
An instance of PagingSource was re-used when Pager expected to create a new instance. Ensure that the pagingSourceFactory passed to Pager always returns a new instance of PagingSource.
How to fix:
Always create new PagingSource from pagingSourceFactory. See pull request #33.
Library causes crash on Android when trying to refresh.
Steps to reproduce:
Crash description:
How to fix:
Always create new PagingSource from pagingSourceFactory. See pull request #33.