Closed rickclephas closed 3 years ago
Thanks for the report! I have to admit, I haven't been able to check iOS that much. Let me try this out as soon as I free up or since you have a solution already, PRs are also welcome!
Just tried to apply the changes I proposed but it isn't as easy as I thought.
currentPagingResult
and hasNextPage
can't be updated either if the Pager
is frozen.
@rickclephas should be out on v0.4.4
During my investigation of https://github.com/rickclephas/KMP-NativeCoroutines/issues/10 I noticed the
Pager
is updating thePagingData
which fails when the pager is frozen.Since there is already a
StateFlow
I think this could be easily fixed with something like the following: