~/talk

PokeLeaks: Gotta Catch 'em All

Talkat droidcon SF 2019 · 2019-11-18..11-19· [android, testing]
slides:none on file

Hands‑on workshop that injects hidden leaks into the open‑source CatchUp app, adds LeakCanary 2, and reproduces leaks using Android Studio Canary and emulator rotations; LeakCanary reports three distinct retained objects (all from the same root cause), shows colored reference chains in a new UI, and dumps/shareable heapfiles once five retained objects trigger analysis. Fixes demonstrated include removing a duplicate activity lifecycle registration, clearing a fragment registry from its SparseArray, and nulling view‑binding in onDestroyView — fixes remove the reported leaks.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 7:03Adding Leakary to the app
  3. 15:59Running the app and detecting leaks
  4. 24:17Analyzing the first memory leak
  5. 32:31Fixing the first memory leak
  6. 33:55Leakary notifications and threshold
  7. 39:58Fragment leaks and lifecycle tracking
  8. 41:26Common fragment binding leaks
  9. 46:31Fixing fragment binding leaks
  10. 47:58Summary and Q&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.