~/talk

Compose Modifiers deep dive

Talkat Android Dev Summit 2022 · 2022-10-24..11-14· [android]
slides:none on file

Modifier architecture migrates from heavy composable factories to lightweight per-layout nodes: the Modifier Node refactor lands in Compose UI 1.3 (backwards compatible) and replaces repeated materialize work with immutable Modifier.Elements that reduce allocations and composition by creating a single Modifier.Node per element. Real example: a single Modifier.clickable previously expanded into many pieces — Modifier.composed called 13 times, 34 remembers, 11 side effects, 16 Modifier.Elements — now clickable becomes one node, cutting allocations and traversal work and improving runtime performance.

AI-written summary · about

  1. 0:00Compose Modifiers intro
  2. 1:39Modifier design evolution
  3. 9:10Performance issues with .composed
  4. 15:10Modifier.Node refactor explained
  5. 19:04Impact and future of Modifiers
~/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.