Fixed
Status Update
Comments
jb...@google.com <jb...@google.com>
ap...@google.com <ap...@google.com> #2
Yigit, do you have time to fix it?
reemission of the same liveData is racy
reemission of the same liveData is racy
pr...@google.com <pr...@google.com> #4
Thanks for the detailed analysis. This may not be an issue anymore since we've started using Main.immediate there but I' not sure; I'll try to create a test case.
Description
Component used: Navigation Version used: 2.7.2
As the back stack state handle uses the ViewModel code under the hood that requires the main thread, it itself requires a call on the main thread. Annotated the
savedStateHandle
field as@MainThread
to prevent errors,