~/talk

Dependency injection from zero to hero with Koin

Talkat Android Makers 2019 · on Wednesday, 2019-04-24· [kotlin]
slides:none on file

Claims a pragmatic DI that replaces Dagger with concrete migration steps and Android adapters: shows a Thermosyphon coffee‑maker demo rebuilt with Koin and a path to migrate from Dagger component-by-component. Describes Android extensions, viewModel constructor injection, lifecycle scope API and test tooling with check modules in JUnit. Reports a rewrite that drops a 140ms lookup to about 450 definitions in ~1ms for bulk resolution. Shows runnable code, Gradle dependency names, and the startKoin/start function changes.

AI-written summary · about

  1. 0:00Start
  2. 1:16Feel like superhero!
  3. 17:25Gradle Setup
  4. 32:22What is a scope?
  5. 32:48Components lifetime
  6. 33:34Think it with boxes
~/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.