~/talk

Dependency injection from zero to hero with Koin

Talkat Conference for Kotliners 2019 · on Friday, 2019-06-07· [kotlin, developer-experience]
slides:none on file

Koin claims a small, Kotlin-first DI with a tiny DSL using keywords like single and factory and a viewModel helper; a 2.0 internal rewrite targets performance so lookup for large graphs drops from ~146 ms to near-Dagger levels and Android lookups can be ~12 ms. The demo builds a coffee-maker app with constructor injection, Android lifecycle scopes and an isolated-instance option; module verification and test helpers run definitions in CI. The new scope API supports lifecycle-tied boxes that are created and destroyed and migration bridges from Dagger exist.

AI-written summary · about

  1. 0:00Start
  2. 8:20Write a Module
  3. 10:31Coin Component
  4. 16:00Android Extensions
  5. 17:12Inject the Android Context
  6. 20:18Reuse a Shared Instance of Your Activity
  7. 29:55Scope Api
  8. 32:35Extensions for Android
  9. 35:33Takeaway
  10. 36:28Getting Started Project
~/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.