~/talk

Adopting Jetpack Compose Safely

Talkat droidcon Berlin 2023 · 2023-07-05..07-07· [android, frontend-architecture]
slides:none on file

A year and a half of incremental work converts a large app to Jetpack Compose by first unspaghetti-ing viewmodels into a single-state holder (exposed as an observable backed by a BehaviorSubject), adding a public triggerViewEvent API, and providing base activities/fragments that host composables; Gradle is standardized with convention plugins and the Compose BOM plus a version catalog; the Octopus design system becomes Compose-first, views interop remains for compatibility, new features land in Compose, and team velocity and developer happiness measurably improve.

AI-written summary · about

  1. 0:00Introduction to Compose adoption
  2. 1:08Why switch to Jetpack Compose
  3. 3:13Legacy architecture challenges
  4. 7:24Preparing the architecture for Compose
  5. 9:32Redesigning ViewModel for Compose
  6. 12:02Handling UI events in ViewModel
  7. 15:59Creating Compose-ready base classes
  8. 19:29Gradle setup for Compose modules
  9. 21:37Migrating the design system to Compose
  10. 26:50Compose-first design system approach
  11. 29:17Training team on Compose
  12. 33:12Key takeaways and next steps
  13. 36:21Q&A and closing
~/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.