~/talk

Migrating Android apps from Fragments to Jetpack Compose with Nibel

Talkat droidcon New York 2023 · 2023-09-14..09-15· [frontend-architecture, android]
links:none on file
slides:none on file

Library Nibel generates entry classes so Jetpack Compose screens interoperate with fragments: add UI Entry annotation and KSP emits either a fragment wrapper or a lightweight composable entry depending on implementationType=fragment/composable. Navigation covers fragment→compose, compose→compose (uses Jetpack Navigation under the hood), and compose→fragment by locating the nearest fragment backstack entry; saved state and dynamic destinations are retained. Multi-module navigation uses explicit Destination objects. Demo builds and switches a screen from composable to fragment without compilation errors.

AI-written summary · about

  1. 0:00Introduction to migrating to Compose
  2. 1:48Problem and gradual adoption
  3. 3:34Unified navigation goals
  4. 4:37Basic navigation experience
  5. 8:29Thought process behind solution
  6. 10:58Navigation between screens
  7. 13:24Implementation details
  8. 17:17Demo of generated code
  9. 20:35Multi-module navigation
  10. 25:48Adoption scenarios
  11. 28:58Conclusion and flexibility
  12. 30:07Q&A
~/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.