It appears that the collection view on mobile is caching its data source?
My data source is a global state variable. I am updating it on another screen and awaiting its setValue.
I have verified that the update occurs using console logging.
When I return to the screen with the collection view it does not update.
If I restart the app, the collection view updates to the new updated value.
If there some way to disable caching or force a refresh?
Hi @neilbalthaser You can use a transformer that returns the list in the format expected by the collection view, that's what I do to avoid that.
1 Like
Jack_T
4
Hi @neilbalthaser,
How are you triggering the query to get the data that you are using to get the data that you are using for the global state variable?
How/where are you calling and awaiting setValue?
If you can share some screen shots or screen recordings to reproduce that would be super helpful.