Google Associate-Android-Developer Question Answer
LiveData.postValue() and LiveData.setValue() methods have some differences. So if you have a following code executed in the main thread:
liveData.postValue("a"); liveData.setValue("b");
What will be the correct statement?
Google Associate-Android-Developer Summary
- Vendor: Google
- Product: Associate-Android-Developer
- Update on: Jul 30, 2025
- Questions: 128