Reimagining Android Dialogs with Jetpack Compose
summary
A Compose-based overlay system replaces Android window dialogs with in-app composables that share composition, layout, and draw phases. Benchmarks show 26% faster frame rendering and 35% lower frame overrun for dialogs, bottom-sheet P99 drops from ~70ms to ~60ms, and memory snapshots show 3+ MB smaller heap with ~100k fewer objects. Reimplements touch blocking, accessibility focus, IME resize/pan via modifiers, enables reliable previews and Pupparazzi tests, supports bottom sheets, popovers, dialogs (toasts planned) and runs on Compose Multiplatform.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 1:48Traditional dialog problems
- 5:22Dialog window creation
- 8:01Compose Overlays concept
- 9:26Compose Overlays in code
- 10:48Performance benchmarks
- 13:17Memory benefits
- 14:20Animation and styling
- 17:13Testing and preview
- 20:05Memory leak fixes
- 21:30Window features in Compose
- 23:35Live demo
- 26:49Kotlin Multiplatform demo
- 28:35Open sourcing plans
- 29:41Summary
- 30:02Q&A
related talks
44mUnleashing the Power of Jetpack Compose: Revolutionizing Android UI Development
01h 05mLet's build Android UI with Jetpack Compose
35mNext Generation Android UI with Jetpack Compose
49mBuilding an Android UI using declarative programming in Jetpack Compose
34mRetrofitting Legacy Code with Jetpack Compose at Scale
43mBuilding Accessible Apps with Jetpack Compose
33mJetpack Compose: A New Hope
31mProject Sparkles: How Compose is Changing Android Studio
