RxMapsAndroid icon indicating copy to clipboard operation
RxMapsAndroid copied to clipboard

Weak subscriptions to ViewModels

Open tehmou opened this issue 11 years ago • 0 comments

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.

tehmou avatar Sep 07 '14 21:09 tehmou