Welcome to KMP Bits
RSS FeedYour go-to spot for Kotlin Multiplatform tips, mobile dev insights, and clean architecture.
Featured
-
Clean Lap: UI Testing in Compose Multiplatform
Before the car hits the grid, telemetry confirms every sector. Before your UI ships, runComposeUiTest confirms every composable.
-
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.
-
🔔 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
-
Smooth Handoff
Navigation 3 supports shared element transitions. It always did. LocalNavAnimatedContentScope was the piece the docs never mentioned.
-
Do You Really Need a Pit Wall?
The intermediary between your app and the database never disappeared. It just stopped being your problem.
-
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.