Doing the following makes the UI emit values, but ...
# android-architecture
o
Doing the following makes the UI emit values, but once new data is received from the backend, the UI still gets the initialized data:
k
That’s exactly what it must to do
o
I observe this LiveData inside the
onStart()
in my UI, and it works for the first
onStart()
This populates a RecyclerView with data. However, if the data in the backend has changed, when the LiveData is called again when triggering
onStart()
again (navigating away and back to the UI) the UI still contains the initial list. So LiveData initial value can’t change I guess?