Paging Source emitting 0 items when table is updated in some other screen which results in Scroll State being lost #5103
Unanswered
Vaibhav2002
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a screen which shows a paged list of data coming from a SQL Delight table, Now when i navigate to some other screen in which I either add new data to the table or update existing one and navigate back
My whole screen scroll state is lost
When logging I found out that the
LazyPagingItems<T>.itemCount
is 0, which seems to be messing up the scroll stateI'm using CashApp's Multiplatform Paging for Paging in Compose Multiplatform, and Decompose for navigation
This is an example of how my query is
This is how i get the `Flow<PagingData>
My Lazy Column
Beta Was this translation helpful? Give feedback.
All reactions