Welcome to KMP Bits
RSS FeedYour go-to spot for Kotlin Multiplatform tips, mobile dev insights, and clean architecture.
Featured
-
Under the Hood: How Compose and SwiftUI Handle What Happens Off-Screen
Same engine, different cockpit: how Compose and SwiftUI handle side effects when sharing a Kotlin Multiplatform ViewModel.
-
Testing Jetpack Compose UI on the JVM: The Discovery That Changed My Workflow
How Robolectric Made Compose UI Tests Fast and CI Friendly
-
🔔 Cross-Platform Notifications with KMP — All in Kotlin!
All logic, all flows, all platform calls are written in Kotlin.
-
🚀 Exploring Multi-Layer Navigation in Jetpack Compose with Navigation 3
A simple, clean, and shows how to combine multiple NavDisplays in a way that scales beautifully as your app grows.
Recent Bits
-
The White Lines: Enforcing Design System Rules with Detekt
Track limits don't stop you from going wide. They penalise you for it. Custom Detekt rules work the same way.
-
Crossing the Finish Line: StateFlow & SharedFlow in Kotlin Multiplatform
StateFlow is your lap timer — always showing the latest lap. SharedFlow is the race radio — you only hear what's broadcasted while you're tuned in.
-
Master Compose Shared Element Transitions: A Smooth UI Journey
Building fluid, reliable shared element transitions in real-world Compose apps
-
🎄 A Christmas Checklist for Kotlin Multiplatform Projects 🔒
What Is Really Worth Sharing