ASSOCIATE-ANDROID-DEVELOPER practice question 4 of 25

As an example. Our MutableLiveData object, named mLapseTime, is not connected to a Room database, etc. How can we change the value in mLapseTime?

Full set: 128 questions
Answer options
A: mLapseTime.postValue(“new String”)
B: mLapseTime.setValue(1000l) Correct answer
C: mLapseTime.changeValue(1000l)
Correct Answer:
B. mLapseTime.setValue(1000l)
Scroll to Top