RxMapsAndroid
RxMapsAndroid copied to clipboard
Weak subscriptions to ViewModels
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 https://github.com/tehmou/RxMapsAndroid/issues/8 will prevent catastrophic leaks, though the view might still be removed before the fragment that owns the view model is destroyed.