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