How to use viewModels in Kmm shared module for both IOS and Android Screens

741 Views Asked by At

I am new in Kmm I have create a UI with Jetpack compose for android and swift ui for IOS in simple application in kmm, so in shared module I just want to create viewModels for both android and iOS activities but I don't find any proper solution for this.

1

There are 1 best solutions below

2
Anand Choudhary On

Had tried with this library to https://github.com/icerockdev/moko-mvvm to achieve Clean MVVM in KMM project