Hello everyone, I started working to create a Kotl...
# android
j
Hello everyone, I started working to create a Kotlin Multiplatform project. But I am facing a problem in integrating ViewModel in the project. I want to use moko-mvvm library if I use the current version (
0.9.1
) it is not being imported in the shared module. Instead, if I change the version to
0.6.0
I can import it but I get this error
Cannot access 'dev.icerock.moko.mvvm.viewmodel.ViewModel' which is a supertype of 'com.example.vmdemo.shared.GreetingViewModel'. Check your module classpath for missing or conflicting dependencies
. I really appreciated it if someone could help me to solve this issue, thanks in advance.
I solved the issue