Does anyone have this problem? <https://issuetracker.google.com/issues/190066274> Is this a bug?
r
Does anyone have this problem? https://issuetracker.google.com/issues/190066274 Is this a bug?
n
can you provide a snippet of code ?
it might come from : https://kotlinlang.slack.com/archives/CJLTWPH7S/p1622215497179300?thread_ts=1622212535.172400&amp;cid=CJLTWPH7S ? (look at the thread, it was valid point I didn't realize before the post was made)
and btw : https://jossiwolf.medium.com/navigating-in-jetpack-compose-78c78d365c6a, you should probably avoid passing the navcontroller to every screen, as it seems to be a bad practice
r
Part of my code is shown in the video. I use the pager defined in the ViewModel
The problem now is that when I navigate to other interfaces and return, the list will be refreshed
i
Are you using
cachedIn(viewModelScope)
in your ViewModel to save your data? https://developer.android.com/topic/libraries/architecture/paging/v3-paged-data#pagingdata-stream
n
Is this issue related to this? https://issuetracker.google.com/issues/177245496 I can't be able to watch the video. The above issue solved after updating compose to beta08