Adventures in Navigation
summary
Demo of the Android Jetpack Navigation Component shows a concrete setup: a nav graph resource, a nav host fragment, and a NavController for navigate calls; use the safe args codegen to get type-safe action and arg classes; Navigation UI wires up bottom nav (3–5 top-level destinations), drawers and app bars and respects popUpTo to prune backstack. Deep links use NavDeepLinkBuilder; shared element transitions land in alpha6; multi-module/dynamic-feature graphs run but dynamic inflation currently fails and the library is still alpha.
AI-written summary · about
chapters (18)
- 0:00Introduction to navigation
- 1:11Navigation principles
- 2:14Up vs back behavior
- 4:43Deep linking explained
- 5:46Navigation component overview
- 8:58Single activity approach
- 11:05Actions vs destinations
- 12:08Safe args plugin
- 14:11Nested graphs and global actions
- 16:58Backstack manipulation
- 20:08Navigation UI library
- 23:16Up button and toolbars
- 26:05Navigation drawer setup
- 27:32Tabs and backstack behavior
- 29:17Deep linking types
- 32:04Instant apps and navigation
- 33:31Multi-module projects
- 36:23Resources and next steps
related talks
33mAdventures in Navigation
36mAdventures in Navigation
34mAndroid Jetpack: Manage UI navigation with navigation controller
28mJetpack Navigation
41mNavigating Android Like a Pro
36mNavigation and the Single Activity: Learnings from a Skeptic
41mBottom Navigation Headache
33mFinding Your Way Through the Navigation Framework
