Declarative UI ❤️ Kotlin Multiplatform!
summary
Live-codes a working Android and iOS app that shares networking, JSON parsing and persistence so one Kotlin module powers both UIs; uses Kotlin Multiplatform, renders UI with Jetpack Compose + SwiftUI, and wires networking and storage with Ktor, kotlinx.serialization, SQLDelight and Koin. The app fetches “people in space” from a remote API, stores results in SQLite via SQLDelight, exposes flows/state to Compose/SwiftUI so DB changes immediately update the lists, and the build runs successfully on both platforms.
AI-written summary · about
chapters (15)
- 0:00Introduction to talk
- 3:54Declarative UI overview
- 6:43Starting the project setup
- 8:49Adding shared API class
- 11:00Android ViewModel integration
- 13:11Jetpack Compose UI implementation
- 16:26Running Android app demo
- 16:47iOS SwiftUI setup
- 18:12iOS ViewModel and UI code
- 20:47Recap of shared architecture
- 21:30Adding astronaut images
- 24:26Local database integration
- 27:12Database-driven UI updates
- 29:17Multiplatform ecosystem overview
- 30:14Q&A session begins
related talks
44mThe Adventures of Kotlin & Compose Through the Multiplatform World
48mEffective Multiplatform Kotlin Development
48mEffective Multiplatform Kotlin Development
36mBest Practices for Developing Amazing Kotlin Multiplatform Apps
44mThe Future of Android, Kotlin, and Everything
36mYou will 💙 becoming a fullstack develope…
43mLevel up on Kotlin Multiplatform
41mIt Just Works
