Answer the question
In order to leave comments, you need to log in
LiveData how to specify observable object?
LiveData liveData = ExampleClass.getInstance().getData();
Why does not it work? getInstance() no
Answer the question
In order to leave comments, you need to log in
val yourData = ExampleClass.getInstance().getData()
val liveData = MutableLiveData(yourData)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question