Managing In-App Navigation with the Navigation Architecture Component
summary
The talk explains Android Jetpack’s Navigation Architecture Component (v1.0.0‑beta01), a library and tooling that manages fragment transactions, builds correct back stacks for deep links, and generates type‑safe navigation code via SafeArgs (Directions classes). It demos XML navigation graphs, mapping fragment arguments to URIs, shows Kotlin vs Java code generation differences and the Navigation Editor visualization, and recommends keeping the nav graph in a shared core module for multi‑module apps because fragment instantiation uses runtime reflection.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:06Navigation Component overview
- 2:53Design concepts
- 6:37Key components
- 8:47Basic screen transitions
- 13:05Passing data with Safe Args
- 15:58Deep Links
- 17:26Visualizing graphs
- 18:11Toolbar integration
- 21:12Multi-module challenges
- 25:17Multi-module alternatives
- 26:42Summary
related talks
34mAndroid Jetpack: Manage UI navigation with navigation controller
33mAdventures in Navigation
36mNavigation and the Single Activity: Learnings from a Skeptic
36mAdventures in Navigation
28mJetpack Navigation
38mAdventures in Navigation
41mNavigating Android Like a Pro
33mFinding Your Way Through the Navigation Framework
