Colton Idle
07/03/2021, 5:47 PMapp
module, and then a my_composables
module.
I converted the project to support kmm in order to get compose for desktop working. Now my_composables
is a kmm module with
androidMain
commonMain
desktopMain
main
I put a brand new HelloWorld
composable in common, and can now use that common composable in my app
module and desktopApp
module. All is good with the world AND I can slowly migrate my android only composables from main
into commonMain
.
That's my current strategy. Slowly migrate from main
into commonMain
. Is that "bad" or wrong? Should I just shove everything into androidMain
? Basically asking "is main
in a kmm module a bad pattern?"CLOVIS
07/03/2021, 10:40 PM