Elevating Cross-Platform Excellence: Compose Unleashed with Kotlin MP
summary
Kotlin Multiplatform + Compose is used to share UI, business logic and networking across Android, iOS, web and desktop, with real production examples (GE Cinema analytics is ~95% Compose code). Key tools are Compose Multiplatform, KMP modules with expect/actual for resources, Ktor for networking, SQLDelight/Room, Coil, Molecule/Moko mvvm and Gradle multiplatform plugins. Practical wins and gotchas: 600+ evolving libraries, state hoisting and composition locals for performance, layout inspector and focus property fixes for iOS glitches, and advice to migrate incrementally.
AI-written summary · about
chapters (25)
- 0:00Introduction and speaker background
- 1:29Why Kotlin Multiplatform
- 3:35Kotlin Multiplatform fundamentals
- 5:46Crossplatform vs multiplatform
- 7:30Getting started with Kotlin MP
- 9:56Consistency across platforms
- 11:39Architecture and shared code
- 13:48Approaches to shared UI
- 15:56Compose basics for iOS and Android
- 18:49Handling resources and fonts
- 20:56Project structure and shared UI
- 22:42Why Compose UI at the bottom
- 23:45Composition locals and themes
- 26:10MVVM pattern in KMP
- 28:59State composables and UI
- 31:28Animation APIs in Compose
- 33:15Data layer with Ktor and Room
- 35:46Adaptive layouts and modifiers
- 37:16Performance and state management
- 39:48Accessibility in Compose
- 40:50Back handling across platforms
- 41:53Fixing glitchy UI on iOS
- 42:57Start small and test regularly
- 44:19Resources and community
- 46:49Q&A and resources summary
