How to test my viewModel that is Koin injected?

后端 未结 0 1711
萌比男神i
萌比男神i 2020-12-08 00:41

I have a ViewModel. It calls a funtion in my data repo and gets back a list of the dog object.

class MainViewModel() : ViewModel() {
    private val dataRepo:         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题