~/talk

The Imposter’s Guide To Dependency Injection

slides:none on file

Shows that constructor injection and a simple analytics tracker interface replace direct Firebase calls so unit tests can assert tracking without Android runtime crashes. Demonstrates a manual dependency container, then maps that recipe to Hilt vs Koin: Hilt uses compile-time modules and annotations, Koin registers modules at runtime. Covers scoping tradeoffs like application-scoped vs component-scoped instances and the build-time/runtime failure differences, and argues practical benefits: easier testing, swap‑ability of vendors, less boilerplate, and when to start manual versus adopting a library.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:49Imposter syndrome and community
  3. 2:30Code without dependency injection
  4. 4:39Constructor injection basics
  5. 6:45Should we mock Firebase Analytics?
  6. 8:10Creating custom interfaces
  7. 9:55Sharing dependencies across screens
  8. 12:45Manual dependency containers
  9. 13:48Hilt dependency injection
  10. 16:57Koin dependency injection
  11. 18:42Benefits of dependency injection
  12. 21:13Advanced concept of scoping
  13. 24:41Choosing a DI solution
  14. 29:56Q&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.