~/talk

Future of Dependency Injection

Talkat droidcon New York 2025 · 2025-06-25..06-26· [android]
links:none on file
links:none on file
links:none on file
links:none on file
github:hzsweers
slides:none on file

Metro is presented as a new, K2-aware DI tool that compiles far faster than legacy Dagger+Anvil setups and is already published this year; teams report 3‑minute kapt stalls that Metro and Anvil KSP aim to eliminate. Cash App describes an ongoing prod refactor to untangle its graph, large apps hit by thousands of injectables prefer lazy/provider injection by default, K2 forces compiler‑plugin changes so Anvil KSP exists but underperforms, and composition locals act like runtime globals causing invisible errors.

AI-written summary · about

  1. 0:00Introduction
  2. 0:21Panelists
  3. 2:29Teaching DI to beginners
  4. 4:36DI frameworks strengths/weaknesses
  5. 7:48Future DI migrations
  6. 10:19Detecting framework limits
  7. 12:09Why Anvil couldn't continue as before
  8. 17:08DI for small teams
  9. 21:32Compose UI service locators
  10. 26:31Context parameters vs DI
  11. 31:07Kotlin DI features
  12. 33:07Lazy injection performance
  13. 36:17Hilt not discussed
  14. 38:48Choosing DI for Kotlin Multiplatform projects
  15. 45:00Closing 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.