Navigation: deeping safely
summary
A small e‑commerce app is built live to show concrete code: the Android navigation component with the SafeArgs plugin generates type‑safe Directions and Args classes, arguments pass as Bundles, and navigation calls replace raw IDs. Deep linking is implemented two ways — explicit and implicit — using NavController to create PendingIntents and URI mappings; a notification and adb tests demonstrate the links resolving correctly after a typo is fixed and a GitHub repo with commits matches each demo step.
AI-written summary · about
chapters (12)
- 0:00Start
- 1:21Agenda
- 2:00Requirement
- 2:27Integrate the Navigation Component to Our Project
- 4:57The Navigation Host Fragment
- 5:44Navigation Nav Controller
- 5:54Retrieve the Navigation Controller
- 9:00Introduction to the Structure of the Project
- 12:19Action That Will Navigate from the Search Page to the Product Detail Page
- 18:03Deep Linking
- 19:02Implicitly Deep Linking
- 25:38Implicit Deep Linking
related talks
36mAdventures in Navigation
38mAdventures in Navigation
33mAdventures in Navigation
33mFinding Your Way Through the Navigation Framework
36mNavigation and the Single Activity: Learnings from a Skeptic
16mNavigation in Modular Applications with Deep Linking
41mNavigating Android Like a Pro
33mFinding Your Way Through the Navigation Framework
