Hi guys I am trying to use Koin for DI . Is there a way to inject viewmodels in the shared module , ...
a
Hi guys I am trying to use Koin for DI . Is there a way to inject viewmodels in the shared module , because I can't find any solution to do so I can only inject it inside the android App module .
g
There isn't, since Android viewModels don't exist on the ios side. You could consider making an expect actuals that on Android uses the viewModel method and on ios the factory one
s
user MOKO-MVVM
Copy code
<https://github.com/icerockdev/moko-mvvm>