Closed rehan91 closed 8 years ago
private void unSubscribeFromObservable() { if (subscription != null && !subscription.isUnsubscribed()) { subscription.unsubscribe(); } }
!subscription.isUnsubscribed()??,i think this method is incorrect,i think we should remove this exclamation mark and use this method:subscription.isSubscribed().
e.......i understood this method ....
private void unSubscribeFromObservable() { if (subscription != null && !subscription.isUnsubscribed()) { subscription.unsubscribe(); } }
!subscription.isUnsubscribed()??,i think this method is incorrect,i think we should remove this exclamation mark and use this method:subscription.isSubscribed().