navigation
Installation
SKILL.md
Mobile Navigation (Android + KMP/iOS)
This skill unifies the three navigation approaches. Pick one with the table, then jump to its section.
Which approach?
| Approach | Use when | Section |
|---|---|---|
Jetpack Navigation Compose (androidx.navigation) |
Android-only app, mature & stable, NavHost + composable<Route> |
A |
| Jetpack Navigation 3 (Nav3) | Android, want the new back-stack-as-state model, adaptive Scenes (list-detail/two-pane), multiple back stacks | B |
| Multiplatform (Voyager / Decompose / CMP nav / SwiftUI) | Shared navigation across Android + iOS from commonMain |
C |
KMP + iOS shops: use C for shared nav. Use A/B when the Android app drives navigation natively, or for the androidMain side.