I have an activity which is observing livedata from repository. Now when the activity gets destroyed and then created again, i still get the old value from repository unless i fetch the new one manually.
Why is the mutablelivedata retaining its old value even after the observer activity is destroyed?