~/talk

Adventures in Navigation

Talkat droidCon NYC 2018 · 2018-08-27..08-28· [android]
slides:none on file

Android Jetpack Navigation Components centralize navigation into an XML nav graph visualized in Studio, with a NavHostFragment and NavController handling navigation, plus Navigation UI helpers for drawer, bottom nav and toolbar. The safe args plugin generates type-safe safe args directions to prevent runtime crashes. Conditional flows use a shared activity ViewModel, LiveData-wrapped events and an event wrapper to avoid repeated navigation. Deep links and Instant Apps work via generated PendingIntents, nested graphs, global actions and popUpTo inclusive to clear intermediate backstack entries.

AI-written summary · about

  1. 0:00Introduction to navigation
  2. 1:29Fixed starting destination
  3. 3:58Deep link consistency
  4. 4:18Navigation component overview
  5. 7:47Activity vs fragment destinations
  6. 9:51Single activity model benefits
  7. 10:35Actions vs destinations
  8. 10:55Safe args plugin explained
  9. 13:04Navigation UI components
  10. 16:35Tabs and navigation drawer
  11. 19:01Collapsing toolbar challenges
  12. 20:25Conditional navigation logic
  13. 24:57Login flow with nested graphs
  14. 27:43Shared activity view model
  15. 30:53Deep linking with navigation
  16. 32:16Instant apps and navigation
  17. 36:07Q&A and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.