~/talk

Dagger Party Tricks

Talkat droidcon NYC 2019 · 2019-08-26..08-27· [android, developer-experience]
github:hzsweers
slides:none on file

Shows concrete Dagger techniques: replace eager Retrofit OkHttp injection with a Call.Factory lambda to defer OkHttp init via Call.Factory lambda, shaving ~100–150 ms off app startup by moving trust‑manager, cache and executor setup to the first network thread. Recommends refactoring modules from the bottom so a shim module lets consumers stay unchanged and using constructor injection avoids modules entirely. Uses a private qualifier in the same file to hide impls and maps/sets for plug‑ins as in the Catchup multi‑binding plugin tabs example.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:16Lazy initialization with Retrofit
  3. 6:52Modularization strategies
  4. 10:44Private API isolation with qualifiers
  5. 11:47Multi-bindings and plugin systems
  6. 15:17Closing 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.