~/talk

Blast Off: Managing Hundreds of UI Updates for Emoji Cannons

Talkat droidcon Berlin 2023 · 2023-07-05..07-07· [android, web-performance]
slides:none on file

Demonstrates an emoji cannon built with Jetpack Compose using Animatables, coroutine-driven animateTo, and graphicLayer/lambda modifiers to avoid constant recomposition; firing 10,000 emojis reveals a 12-second GC freeze that is fixed by removing finished items from state and wrapping each emoji with key utility function so children don’t recompose. Uses a ViewModel holding a UID set (backend sends unicode+UID), achieves no crazy recompositions and scales to ~100,000 simple composables. use lambda modifiers

AI-written summary · about

  1. 0:00Introduction and demo
  2. 3:39Recomposition count explosion
  3. 6:34Frame skipping and memory freeze
  4. 8:41Dancing emojis on removal
  5. 10:45Memory cleanup and smooth removal
  6. 12:07Production use case in Tilt
  7. 13:53Key takeaways and summary
~/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.