Google Developers Certification - Associate Android Developer (Kotlin and Java Exam) Associate-Android-Developer Question # 2 Topic 1 Discussion

Google Developers Certification - Associate Android Developer (Kotlin and Java Exam) Associate-Android-Developer Question # 2 Topic 1 Discussion

Associate-Android-Developer Exam Topic 1 Question 2 Discussion:
Question #: 2
Topic #: 1

As an example. Our MutableLiveData 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)


Get Premium Associate-Android-Developer Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.