Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
android/architecture-components-samples#47 As pointed out in that blogpost, everything's fine if a fragment is destroyed (after a rotation for example), however if it's detached/attached then the observer isn't removed and a new one is created every time - unless we use `viewLifecycleOwner` instead of `this` as the observation's owner.
- Loading branch information