Exam4Training

How can we change the value in mLapseTime?

As an example. Our MutableLiveData<Long> object, named mLapseTime, is not connected to a Room database, etc.

How can we change the value in mLapseTime?
A . mLapseTime.postValue(“new String”)
B . mLapseTime.setValue(1000l)
C . mLapseTime.changeValue(1000l)

Answer: B

Exit mobile version