Kotlin Multiplatform (KMP)

ADVANCED › Emerging

Sharing business logic, networking, and data across Android and iOS while choosing native or shared UI.

KMP comes up in interviews as the pragmatic way to reuse Kotlin code across Android, iOS, and beyond without rewriting an app. Interviewers test whether you know what genuinely belongs in shared code (logic, networking, models, persistence) versus native UI, how expect/actual and source sets work, and the real-world libraries (Ktor, SQLDelight, kotlinx.serialization). Senior signal is judgment: articulating when KMP pays off versus when its build and Swift-interop overhead outweighs the reuse.

What this covers

Study this topic

Further reading