Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
A couple of questions:
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
Description
val pagingSource = database.reposDao().reposByName(dbQuery)
return Pager(
config = PagingConfig(pageSize = NETWORK_PAGE_SIZE),
remoteMediator = GithubRemoteMediator(
query,
service,
database
),
pagingSourceFactory = { pagingSource }
).flow
But this will lead to a wrong behaviour of paging, as the paging source isn't created again.
The issue would be hard for developers to debug, therefore, the library should prevent this behaviour.