Join Slack
Powered by
How can I make a MutableLiveData that emits values...
# android-architecture
o
Ofir Bar
03/11/2020, 11:19 AM
How can I make a MutableLiveData that emits values, when the Lifecycle of the UI changes? I tried the following, which isn’t possible:
r
rkeazor
03/12/2020, 4:11 AM
This is incorrect. liveData.value is expecting <T> . The liveData builder you are using returns a LiveData<T>
4
Views
Open in Slack
Previous
Next