Ideally the subscriptions made to view model properties should be weak, since we cannot guarantee when the view is not needed anymore. Implementing the view model life cycle #8 will prevent catastrophic leaks, though the view might still be removed before the fragment that owns the view model is destroyed.
Ideally the subscriptions made to view model properties should be weak, since we cannot guarantee when the view is not needed anymore. Implementing the view model life cycle #8 will prevent catastrophic leaks, though the view might still be removed before the fragment that owns the view model is destroyed.