<Shared View Model with common observers Android> ...
# stackoverflow
r
Shared View Model with common observers Android In my use case, I am using a shared view model with a few common observers. When three fragments are added to the back stack, all three fragments are observed by the view model. However, I only need to observe the current visible fragment. Need to observe events only in current visible fragment instead of all other fragment observing