~/talk

Composables in Views: Interoperability and the Clash of Lifecycles

TalkinFrenchat AndroidMakers by droidcon 2024 · on Friday, 2024-04-26· at 11:45· [android]
slides:none on file

Discusses migrating a Design System to Jetpack Compose and the performance challenges encountered when embedding Composables inside traditional Views. Explains lifecycle mismatches between Composables and Views (for example when using Compose inside a RecyclerView), and presents pragmatic strategies and concrete optimizations to improve interoperability and preserve performance during Compose migration.

AI-written summary · about

  1. 0:00Compose intro
  2. 1:04Back Market context
  3. 2:10Aragorn vs Scooby method
  4. 3:13Scooby method principle
  5. 4:39Interop with AbstractComposeView
  6. 6:43Progressive Compose adoption
  7. 7:26Performance after migration
  8. 9:13Frozen frames investigation
  9. 12:29Discovering ComposeView
  10. 15:21ComposeView lifecycles
  11. 22:45Compose in RecyclerView
  12. 25:11View Composition Strategy
  13. 27:45Default ComposeView behavior
  14. 30:16Nested RecyclerView solution
  15. 33:28Out of Memory issues
  16. 36:17Other composition strategies
  17. 38:29Experience feedback
  18. 40:13Replace nested RecyclerView
  19. 41:18Android lifecycle importance
  20. 42:21View Composition Strategy role
  21. 43:05Q&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.