#8Multiple Choice

As an example. In an Activity we have our TimerViewModel object (extended ViewModel), named mTimerViewModel. mTimerViewModel.timer method returns a LiveData<Long> value. What can be a correct way to set an observer to change UI in case if data was changed?

Previous
Question 8 of 107
Exam ASSOCIATE-ANDROID-DEVELOPER Topic 1 Question 8
Back to all questions
Next