Koin 3.2 - Improving the Kotlin Developer Experience
summary
Koin 3.2 ships a new, narrower DSL with a singleOff constructor DSL and an options block that reduces scattered get calls, adds module includes with graph flattening for clearer dependencies, and keeps runtime cheap by generating code at compile time. Koin Annotations 1.0 uses Google KSP code generation to emit the equivalent Koin DSL (no reflection), produces module extensions to call from startKoin, targets JVM/Android and multiplatform, and is already usable alongside later 3.x releases.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:28What is Koin
- 6:09Improving Koin DSL
- 11:31Constructor DSL
- 14:25Module dependencies
- 17:57Koin flavors
- 19:46Koin annotations
- 27:18Annotations for dependencies
- 30:29Running Koin with annotations
- 33:00Koin 3.4 roadmap
- 36:55Community resources
- 38:42Q&A
related talks
44mKoin + Kotlin Compiler = ♥️
31mKoin in Action - Dependency Injection for Kotlin
40mSimplify your Android development with Koin
42mAndroid Architecture Design with Koin
49mDependency injection from zero to hero with Koin
17mKoin vs Dagger (Service Locator vs D.I.)
39mInject your Jetpack Compose Application with Koin
38mWhat's New & Cool in Kotlin Tools
