Insert Koin
summary
Koin is a Kotlin-first dependency injection library that uses a small DSL to declare single and factory bindings and to retrieve dependencies with get() or inject(), with named dependencies for disambiguation. It supports property and parameterized providers, nested contexts with explicit release for lifecycle-scoped components, direct Android ViewModel integration, and runtime validation with an optional dry-run graph walk for tests; teams report using it at scale with similar runtime performance to Dagger 2 but much less boilerplate.
AI-written summary · about
chapters (17)
- 0:00Welcome
- 0:54Dependency Injection
- 3:03Koin introduction
- 4:31Koin basics Android
- 6:17Dependency types
- 8:07Properties in Koin
- 10:37Passing parameters
- 12:00Contexts and features
- 13:03Logging and debugging
- 14:27Circular dependencies
- 15:11Testing with Koin
- 16:13Koin vs Dagger 2
- 20:06Why Koin simpler
- 21:59Choosing Koin
- 23:24Multiplatform support
- 24:50Performance and Kotlin
- 25:12Q&A
related talks
36mInvesting in Koin
31mKoin in Action - Dependency Injection for Kotlin
40mSimplify your Android development with Koin
49mDependency injection from zero to hero with Koin
42mAndroid Architecture Design with Koin
17mKoin vs. Kotlin-inject
43mAndroid, Compose, Multiplatform & Server – Multiplatform Dependency Injection in Kotlin
44mKoin + Kotlin Compiler = ♥️
