Conversation
760540e to
5a0b57f
Compare
5a0b57f to
ffd3759
Compare
|
The sample was once build in mind to serve as a basic KMP project. Having shared code, but native UI (compose for android, swift ui for ios). The README still mention this. This PR introduces compose multiplatform. But if I get it right, it is only used inside the android target, not the ios target? 🤔 Anyways, I'm not familiar with jetbrains plans or roadmap, but from my point of view, I would keep it like it was and don't introduce compose multiplatform in this sample. |
|
Hi @StefMa - thank you for your question. First, this is a very simple sample, I wouldn't read too much into this design decision. BUT We are working on some guidelines on what makes an app easier to migrate to CMP on other platforms later, and using either CMP (or at the very least Jetpack Compose) on Android alone is a best practice. Here, we decided on CMP to illustrate this best practice. There are benefits to the decision, like having Hot Reload if we were to add desktop etc. This is the article, for your reference: https://kotlinlang.org/docs/multiplatform/migrate-from-android.html. Hope this answers your question. |
No description provided.