~/talk

Blast Off: Managing Hundreds of UI Updates for Emoji Cannons

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

A Jetpack Compose emoji cannon floods the screen with hundreds to thousands of animated emoji; firing 10,000 items drives memory from ~100MB to ~250MB and one emoji caused ~300 recompositions. Performance fixes include using lambda modifier / graphicsLayer for frequent offset/rotation/alpha updates, removing items from the state on animation end, and grouping nodes with key(...) with UUID IDs so children do not recompose; implemented in production at at tilt and extended toward a particle emitter.

AI-written summary · about

  1. 0:00Start
  2. 8:17Memory footage from Android Profiler
  3. 14:13ViewModel
  4. 15:54Key takeaways
  5. 16:34Bonus: Particle emitter
~/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.