Join Slack
Screen Shot 2022-01-03 at 2.19.43 PM.png
# koin
b
Brian Donovan
01/03/2022, 7:19 PM
Screen Shot 2022-01-03 at 2.19.43 PM.png
r
Rak
01/04/2022, 11:11 AM
You need to use the special android functionality to create viewmodels.
Rak
01/04/2022, 11:11 AM
https://insert-koin.io/docs/reference/koin-android/viewmodel
Rak
01/04/2022, 2:56 PM
I already use that and it works fine
Rak
01/04/2022, 2:57 PM
I have used the
coEvery
function of my mocking lib and it removed the compilation error. Still writing the test to see if it works.
Rak
01/04/2022, 3:22 PM
that didnt work. I think `coEvery`is not meant for android instruimentation tests
Rak
01/04/2022, 3:47 PM
actually, got it working, i needed to add the kotlin test dependency to androidTest
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by