What's up with Android's back
summary
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
chapters (12)
- 0:00Introduction to Android back
- 1:38History of back navigation
- 3:22Predictive back gestures
- 5:09How onBackPressedDispatcher works
- 8:19Adding callbacks in activities
- 10:04Handling back in dialogs and fragments
- 11:49Back navigation in Compose
- 13:15Migrating to new APIs
- 17:35Android 14 updates
- 20:32Predictive back with transitions
- 21:59Design guidelines and demo
- 23:42Resources and conclusion
related talks
33mWhat's up with Android's back?
14mBasics for System Back
46mOpening Keynote: Android Then & Now
28mBuilding for the Future of Android
33mGesture navigation best practices
43mOh, the places you’ll go! — Android Navigation: How Does It Work & What’s New
43mBuilding for the Future of Android
01h 08mAndroid Plateform Anatomy
