Android Architecture Design with Koin
summary
Koin presents concrete DI patterns: constructor injection for repositories and ViewModels, scope semantics for activity/retained/navigation lifecycles, Jetpack Compose and multiplatform bindings, plus an annotation-based KSP generator. Examples include Android Architecture Blueprints and a people-in-space multiplatform demo (Compose + SwiftUI) that run. Claims: Koin with KSP annotations generates a DSL and modules, 1,000 components <2s generation benchmark, and roadmap items like coin 3.2 removing repetitive get calls.
AI-written summary · about
chapters (8)
- 0:00Start
- 21:23Define a scope
- 22:58Get the Scope API
- 24:54Getting instances in a Composable
- 26:13Jetpack Compose Samples
- 36:17Gathering definitions into Modules
- 37:19Mix Classes & DSL Modules
- 40:37Roadmap 2022
related talks
36mInvesting in Koin
39mInject your Jetpack Compose Application with Koin
41mAndroid, Compose, MP & Server - Inject them all with Coin
36mGetting big payouts with Koin
41mMaking a Kotlin, Architecture Components, Rx and Coroutines sandwich
39mInject Basics!
45mDependency Injection from Zero to Hero
38mBuilding Android apps in 2022
