~/talk

Powering up Dagger for Less Code and Cleaner Architecture

Talkat droidcon New York 2023 · 2023-09-14..09-15· [android]
links:none on file
slides:none on file

Explains that Dagger compiles into real Java objects that generate factory provider classes and a component object that owns all bindings and their lifecycles, shows how @Binds removes boilerplate while multibinding assembles sets and maps at runtime, and demonstrates using scopes and subcomponents to swap graphs for signed‑in vs signed‑out experiences. Warns that re‑instantiating components leaks memory and breaks singletons, and points to Dagger SPIs for custom compile‑time graph checks.

AI-written summary · about

  1. 0:00Introduction to Dagger
  2. 3:38How Dagger magic works
  3. 12:21Understanding bindings
  4. 15:31Multibindings for flexible architecture
  5. 17:57Scoping dependencies in Dagger
  6. 21:10State-specific experiences with scopes
  7. 23:16Subcomponents for shared dependencies
  8. 26:45When not to overuse Dagger
  9. 29:56Closing and key takeaways
~/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.