~/talk

Koin vs Dagger (Service Locator vs D.I.)

Talkat droidcon NYC 2019 · 2019-08-26..08-27· [android, developer-experience]

Compares Koin 2.0 and Dagger by showing how each resolves dependencies: Koin uses Koin 2.0 runtime resolution with reified types and the lazily injected helper, while Dagger uses Dagger compile-time codegen that generates factories and verifies graphs at build time. Notes tradeoffs: compile-time guarantees versus runtime flexibility, build-time and onboarding costs, scoping behavior, and how constructor injection forces testability and reveals bad smells; concludes both give separation of concerns and can even be combined depending on team and project constraints.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 2:11Inversion of control explained
  3. 5:42Dependency injection basics
  4. 8:30Dagger framework overview
  5. 9:55Service locator pattern
  6. 11:44Key differences and conclusions
  7. 12:28Choosing between frameworks
~/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.