Android UI (Compose & Views) · 1 of 3
ViewModel & LiveData
AtomicRepsNavigation
The Android view layer: Jetpack Compose, activities/fragments, ViewModel and navigation.
Android UI (Compose & Views) · 1 of 3
ViewModel & LiveData
Android UI (Compose & Views) · 2 of 3
Activities & Fragments
Android UI (Compose & Views) · 3 of 3
Navigation Component
detail is a full-screen destination, not a dialog. Once the transition to it has finished, what does this code print for the previous back-stack entry?val prev = nav.currentBackStackEntrynav.navigate("detail")// after transition settles:val state = prev?.lifecycle?.currentStateprintln("prev=$state")Three of the 460 Android UI (Compose & Views) questions.
Keep going with Android UI (Compose & Views), free