Unit test when we have lazy loading of LiveData in ViewModel

后端 未结 0 1317
野的像风
野的像风 2021-01-12 09:01

We have following code for ViewModel :

class MyViewModel : ViewModel() {
    private val users: MutableLiveData> by lazy {
        Muta         


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