Example #1
0
 @Override
 protected void onDestroy() {
   unregisterReceiver(mExistReceiver);
   mExistReceiver = null;
   RxUtils.unsubscribeIfNotNull(_subscriptions);
   super.onDestroy();
 }
Example #2
0
 public CompositeSubscription getSubscriptions() {
   _subscriptions = RxUtils.getNewCompositeSubIfUnsubscribed(_subscriptions);
   return _subscriptions;
 }