Simplify your Android development with Koin
summary
Koin is a lightweight Kotlin DI that uses a tiny DSL with four keywords module/single/factory/get to declare constructor-injected components; example app is a coffee‑maker with pump and heater built and running. Android support comes via startKoin and coin-android, plus Activity/Fragment/Service delegates and a by‑viewModel adapter for Architecture Components. 1.0 adds scopes with explicit lifetimes, testing helpers for JUnit/Mockito, and reported warmup ~30–40 ms with instance resolution ~1 ms.
AI-written summary · about
chapters (5)
- 0:00Introduction to Coin
- 25:00Parameters and Injection
- 26:01Experimental Features
- 27:38Getting Started with Coin
- 31:28Q&A and Performance
related talks
42mAndroid Architecture Design with Koin
36mInvesting in Koin
31mKoin in Action - Dependency Injection for Kotlin
49mDependency injection from zero to hero with Koin
28mInsert Koin
43mDependency injection from zero to hero with Koin
42mKoin 3.2 - Improving the Kotlin Developer Experience
48mAndroid, Compose, Multiplatform & Server - Inject them all with Koin
