Page 1 of 1

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

Posted: Mon Aug 01, 2022 9:41 am
by answerhappygod
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)