Video: https://www.droidcon.com/2022/06/28/embracing-commonmain-for-android-development/
We are all excited to use Kotlin Multiplatform, but on large projects it’s hard to figure out where to start using it without introducing risk. In this talk, I’ll give you techniques to start writing your code in commonMain right now. The code you write in commonMain is just Kotlin code, so it’s no different than what you write today, but with some slightly different configuration and guidelines that need to be followed. I’ll show you how to quickly set up your project configuration, and what guidelines to follow so you can start exercising your Multiplatform muscles. Writing code in commonMain helps promote modularity, and makes you think like a “Mobile developer” instead of just an “Android” developer.