~/talk

Migrating Android apps from Fragments to Jetpack Compose

Talkat Android Worldwide July 2023 · 2023-07-25..07-26· [android]
links:none on file
slides:none on file

Turo’s migration approach introduces an open source library Nibel that uses KSP code generation to create typesafe screen entries and a unified navigator handling fragment⇄compose⇄compose flows. Generated fragment or composable entries let the system choose fragment transactions or Compose Navigation under the hood, reduce fragment allocations for internal flows, and support multi‑module destinations via a shared navigation module. The library preserves backstack across config changes and ships as a working GitHub project ready to integrate.

AI-written summary · about

  1. 0:00Start
  2. 2:07Navigation scenarios
  3. 4:01Jetpack Compose architecture
  4. 5:17Navigating fragment to compose
  5. 6:22Navigating compose to compose
  6. 7:37Navigating compose to fragment
  7. 8:42Wrap composable with a fragment
  8. 10:13Base fragment class
  9. 12:33Navigation-fragment transaction
  10. 14:11Generated composable wrapper
  11. 14:41Implementation type
  12. 16:06Navigation under-the-hood
  13. 27:44Navigation module
  14. 29:35Declaring a destination
  15. 30:16Associating a destination with a screen
  16. 31:09Navigation fragment to compose
  17. 33:40Scenario 1
  18. 35:33Scenario 3
  19. 37:08Blog posts
~/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.