~/talk

Practical Compose Navigation with a Red Siren

links:none on file
slides:none on file

Live-codes a small Compose app that remotely toggles a physical red siren using navigation-compose: builds a top nav, navController + NavHost routes, and a configure screen with a checkbox whose UI state uses rememberSaveable. Fixes duplicate back-stack entries with launchSingleTop and trims navigation history with popUpTo(saveState=true) plus restoreState to preserve popped screens, passes the checkbox to the show screen as a nav arg and initializes its ViewModel from SavedStateHandle. Integration into a fragment bridge works.

AI-written summary · about

  1. 0:00Introduction
  2. 1:12Building the app
  3. 3:21Adding screens
  4. 4:44Navigation basics
  5. 7:54Back stack behavior
  6. 9:16State preservation
  7. 10:40Navigation options
  8. 12:24Extension function
  9. 13:26Fixing state issues
  10. 16:13Hoisting state
  11. 19:45Passing arguments
  12. 22:15ViewModel integration
  13. 26:54Pure Compose navigation
  14. 29:02Legacy fragment bridge
  15. 30:47Closing remarks
~/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.