Fixed
Status Update
Comments
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
na...@google.com <na...@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.5.0+ Devices/Android versions reproduced on: all
When using Navigation Compose, there are situations where the changing the destination can cause the Navigation graph to be reset (this happens any time a change is made to the graph that causes it to not be equal to the previously set graph).
Although it is not likely the intended behavior in most cases since it actually causes you to reset the entire back stack, it would be nice if Navigation at least did not crash.
Here is a sample app:https://github.com/kristof-taveirne/OnBoardingCompose