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