Navigating Android Like a Pro
summary
History of Jetpack Navigation, what changed from early alphas to 2.1/2.2/2.3, and concrete migration steps: add nav graph XML, use Safe Args plugin to get type-safe directions and args, handle deep links with NavDeepLinkBuilder or URI placeholders, and scope ViewModel to a nav graph. Shows dialog fragments as true destinations that auto-close, popUpTo/popUpToInclusive examples for backstack fixes, and dynamic feature support that triggers dynamic feature download via a DynamicNavHost and install monitor.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 1:18Navigation problems before Jetpack
- 3:27Navigation component evolution
- 5:13Navigation graph basics
- 7:20Destinations and placeholders
- 9:05Dialog fragments support
- 11:32Actions and navigation options
- 15:02Passing arguments safely
- 19:14Deep links explained
- 23:52NavController and navigation
- 27:24Backstack manipulation
- 31:59Nested navigation graphs
- 33:26Multi-module navigation
- 34:52Dynamic feature modules
- 36:15Single activity architecture
- 39:30Shared ViewModel scoping
- 40:37Improvements and future
related talks
33mAdventures in Navigation
38mAdventures in Navigation
36mNavigation and the Single Activity: Learnings from a Skeptic
36mAdventures in Navigation
28mJetpack Navigation
43mOh, the places you’ll go! — Android Navigation: How Does It Work & What’s New
34mAndroid Jetpack: Manage UI navigation with navigation controller
27mManaging In-App Navigation with the Navigation Architecture Component
