Navigation component
Official docs outline
8 sections- Navigation overview
Navigation graphs, hosts and controllers and the principles of navigation.
- Getting started
Adding dependencies and creating a navigation graph and NavHost.
- Navigate to a destination
NavController actions, popUpTo and navigation options.
- Pass data between destinations
Arguments, Safe Args and shared ViewModels.
- Deep links
Explicit and implicit deep links and PendingIntents.
- Navigation in Compose
NavHost composable, routes, type-safe navigation and nested graphs.
- Navigation 3
Back-stack-as-state model with NavDisplay and entry providers.
- Testing navigation
TestNavHostController and verifying navigation behavior.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.