Kotlin Multiplatform. Make your Android App Cross-Platform
summary
Shows converting an existing Android energy app (Last.fm API) into a working cross-platform app with shared Kotlin code for data models, networking and architecture compiled into an iOS framework via Gradle script and optional CocoaPods. Replaces Retrofit with a Ktor-based client using OKHttp engine on Android and Darwin engine on iOS, adapts Kotlinx serialization and parcelable differences, maps coroutines with expect/actual dispatchers (post-1.7.20 defaults), bridges flows to Swift with collectors, and wires dependency injection using Koin DI.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:31Understanding KMP
- 3:28Architectural overview
- 6:01Project implementation
- 8:06Setting up the shared model
- 11:10Data model migration
- 13:18Networking implementation
- 16:51Concurrency and flow
- 24:34DI and architecture
- 33:34Q&A and summary
related talks
48mEffective Multiplatform Kotlin Development
52miOS Architecture with Multiplatform
39mAnd That, Folks, is How We Shared Code Between Android, iOS and the Backend
46mGoing Multiplatform with Your Android App
36mIntroducing Kotlin Multiplatform in an existing project
26mKotlin Multiplatform in an MVVM World
27mAn Android Dev start to Kotlin Multiplatform
23mKotlin Multiplatform Mobile in production: key takeaways from developing two cross-platform apps
