Dependency injection from zero to hero with Koin
summary
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
chapters (6)
- 0:00Start
- 1:16Feel like superhero!
- 17:25Gradle Setup
- 32:22What is a scope?
- 32:48Components lifetime
- 33:34Think it with boxes
related talks
49mDependency injection from zero to hero with Koin
31mKoin in Action - Dependency Injection for Kotlin
40mSimplify your Android development with Koin
42mAndroid Architecture Design with Koin
36mInvesting in Koin
35mDIY Dependency Injection with Kotlin
48mAndroid, Compose, Multiplatform & Server - Inject them all with Koin
28mInsert Koin
