Assigned
Status Update
Comments
ca...@justeattakeaway.com <ca...@justeattakeaway.com> #2
I had a similar issue while working with `PullToRefresh` on Compose. I've set my `isRefreshing` to `true` when starting the pull to refresh, called the `data.refresh()` method. And then I got the following: `Not Loading -> Loading -> Not Loading` this causes the UI to flick (in my scenario I had a different Loading state for the first loading of the data). I had to add a logic to ignore the First `Not Loading` to get It working the way I wanted. But It would be nice to have a state like `Loading Done` or something.
cl...@google.com <cl...@google.com> #3
Are you using RemoteMediator or does your implementation invalidate PagingSource when you load data? If you're just loading from a single PagingSource, and you're observing only REFRESH
state, you should only see Loading --> NotLoading
.
Description
We should consider conflating load events such that loadStateFlow only emits updates when loading has completely settled.