~/talk

Navigation Components and where to find them

Talkat droidcon APAC 2020 · 2020-12-14..12-15· [android]
links:none on file
slides:none on file

Covers Jetpack Navigation Component setup and a working demo: XML nav graph, NavHostFragment and NavController wiring, actions with enter/exit and pop animations, and using popUpToInclusive to prevent returning to login so back exits. Shows passing integer 56 with the Safe Args Gradle plugin that generates FirstFragmentDirections/SecondFragmentDirections/SecondFragmentArgs (three files) and using navigate(...) with arguments. Implements a functional navigation drawer with setupWithNavController, AppBarConfiguration and override of navigateUp. Mentions deep links and new API to retain fragment state.

AI-written summary · about

  1. 0:00Introduction to Navigation
  2. 1:06Navigation Component Basics
  3. 2:11Implementing Navigation Graph
  4. 3:59Navigation Graph XML Breakdown
  5. 5:03Basic Fragment Navigation
  6. 6:04Handling Back Stack
  7. 7:29Sending Data with Bundles
  8. 8:30Safe Args for Type-Safe Data
  9. 10:15Safe Args Demo
  10. 11:40Navigation Drawer Setup
  11. 14:08Navigation Drawer Demo
  12. 14:52Deep Linking Overview
  13. 15:33Q&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.