is used as part of a transition, it will be detached from its window when the transition starts instead of when the transition ends, thus causing your composable to dispose of its state while it is still on screen.
What does this mean? why is Compose UI view detached from its window when the transition starts?
i
Ian Lake
11/27/2021, 2:04 AM
That's how View Transitions work (this is why Transitions don't cause a relayout on every frame)