Android Architecture Design with Koin
summary
Koin is a Kotlin DI library focused on constructor injection and a small DSL; the project has 7K stars and about 5M downloads/year. Version 3 merges Android modules so you import one artifact, adds Jetpack Compose and Jetpack Navigation support including nav graph scoped viewModel, and documents scope patterns (scoped, factory, single, activity retain). A KSP-based compiler prototype aims to generate module bindings to remove repetitive get calls and a benchmark shows ~10,000 components generated in ~5s.
AI-written summary · about
chapters (18)
- 0:00Introduction and speaker intro
- 1:06What's new in Koin 3.x
- 3:40Core concepts of Koin
- 6:10MVVM architecture with Koin
- 9:27Handling multiple data sources
- 12:43ViewModel setup with Koin
- 14:34MVP pattern with Koin
- 16:20Organizing modules in Koin
- 17:04Clean architecture with Koin
- 19:58Understanding scopes in Koin
- 24:23Android scope API
- 26:30Navigation graph scopes
- 27:34Koin with Jetpack Compose
- 29:19Koin for Kotlin Multiplatform
- 32:15Scaling Koin with DSL limits
- 34:45Koin compiler proposal with KSP
- 37:14Module organization alternatives
- 40:28Future of Koin and wrap-up
related talks
40mSimplify your Android development with Koin
48mAndroid, Compose, Multiplatform & Server - Inject them all with Koin
31mKoin in Action - Dependency Injection for Kotlin
36mInvesting in Koin
28mInsert Koin
49mDependency injection from zero to hero with Koin
43mAndroid, Compose, Multiplatform & Server – Multiplatform Dependency Injection in Kotlin
39mInject your Jetpack Compose Application with Koin
