Building a Modern Kotlin Multiplatform Application with Compose Multiplatform and Koin
summary
Build process, concrete code and measured outcomes: KMP + Compose Multiplatform is used to port Google's "Now in Android" demo into a single shared codebase wired with Koin, with benchmarks show Koin as fast as Dagger and Koin 4.0→4.1 changes for Compose stability. Examples include factory vs singleton lifecycles, scope archetype for activity/fragment/viewmodel, an IntelliJ/Android Studio plugin and analytics, and a 4.1 beta 7 rollout with Now in Android migrated to KMP+Koin
AI-written summary · about
chapters (24)
- 0:00KMP with Compose and Koin
- 1:07Modern Kotlin foundations
- 2:32KMP ecosystem evolution
- 3:59Koin basics
- 6:05Koin DSL and annotations
- 7:50App architecture layers
- 9:33Dependency scopes and lifecycle
- 12:59Scaling with modules
- 14:23KMP patterns with Koin
- 17:41Platform-specific modules
- 19:04Koin with iOS
- 21:54ViewModel in KMP
- 22:37Compose UI capabilities
- 25:45Compose UI integration
- 26:06State management with Compose
- 27:29Dynamic injection in UI
- 28:35Navigation and ViewModel sharing
- 30:02Compose setup with Koin
- 31:30Koin experimental features
- 32:12Building SDKs with Koin
- 33:35Codzilla for Koin
- 36:05Koin community resources
- 37:09Koin roadmap
- 39:17Q&A
related talks
48mAndroid, Compose, Multiplatform & Server - Inject them all with Koin
46mGoing Multiplatform with Your Android App
45mJumping into KMP — But at What Cost?
42mWhat’s New in Compose Multiplatform
43mAndroid, Compose, Multiplatform & Server – Multiplatform Dependency Injection in Kotlin
44mThe Future of Android, Kotlin, and Everything
45mThe Adventures of Kotlin And Compose Through the Multiplatform World
43mKotlin Multiplatform at Stable and Beyond
