コード例 #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;
 }