~/talk

Migrating to Jetpack Compose - an interop love story

Talkat Droidcon London 2023 · 2023-10-26..10-27· [android]
slides:none on file

Migrating a view‑based app to Jetpack Compose works incrementally: the demo refactors a Reply sample by converting three small shared components (account item, recipient chip, search suggestion) to composables, swapping RecyclerView lists for Lazy layouts to remove adapters and view holders, and keeping existing navigation while using ComposeView with the right ViewCompositionStrategy. WindowSizeClasses plus accompanist two‑pane implement a responsive list‑detail layout, screenshot testing catches regressions, and scroll coupling uses rememberNestedScrollConnection to preserve the collapsing bottom bar—showing interop actually works.

AI-written summary · about

  1. 0:00Introduction to migration
  2. 1:56Goals and migration strategy
  3. 4:04Preparation and planning
  4. 8:44Migrating small UI components
  5. 13:00Adding previews and hooks
  6. 15:26Interop with complex components
  7. 17:52Migrating low-risk screens
  8. 21:00Complex screen migration
  9. 28:48Large screen support
  10. 30:11Non-technical tips and summary
~/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.