~/talk

What's up with Android's back

Talkat droidcon San Francisco 2023 · 2023-06-08..06-09· [android]
name:Nav Singh
links:none on file
slides:none on file

History and migration path for Android back navigation with concrete guidance: use onBackPressedDispatcher (backward-compatible to API 21) or platform OnBackInvokedDispatcher on Android 13+, plus an application flag or per-activity flag for predictive gestures. Demos show Android 13 supports back-to-home animation while Android 14 adds cross-activity transitions, back progress (0–1) and Activity 1.8.0 APIs, AndroidX transitions 1.5.0 and Material 1.10.0-alpha3 support; sample repo included and a WhatsApp crop gesture bug contrasts with Samsung Gallery.

AI-written summary · about

  1. 0:00Introduction to Android back
  2. 1:38History of back navigation
  3. 3:22Predictive back gestures
  4. 5:09How onBackPressedDispatcher works
  5. 8:19Adding callbacks in activities
  6. 10:04Handling back in dialogs and fragments
  7. 11:49Back navigation in Compose
  8. 13:15Migrating to new APIs
  9. 17:35Android 14 updates
  10. 20:32Predictive back with transitions
  11. 21:59Design guidelines and demo
  12. 23:42Resources and conclusion
~/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.