~/talk

JetPack Compose Performance Tips & Tricks

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

Explains concrete fixes: use remember to avoid rerunning logic every frame, use derivedStateOf to collapse thresholds (only change when crossing 20 likes), give Lazy lists stable keys (IDs) to prevent full-list recomposition, defer state reads into layout or draw lambdas to skip composition work, enable R8 and baseline profiles for big performance wins, run the compose compiler metrics plugin and mark collections immutable or annotate/wrap models so composables become skippable.

AI-written summary · about

  1. 0:00JetPack Compose intro
  2. 1:46Understanding Compose phases in depth
  3. 8:12Recomposition tips
  4. 13:15State reads optimization
  5. 16:50Baseline profiles & R8
  6. 17:11Stability & immutability
  7. 27:22Q&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.