コード例 #1
0
ファイル: LoadingView.java プロジェクト: weimingtom/iMeng
 @Override
 protected void onDetachedFromWindow() {
   super.onDetachedFromWindow();
   if (mSubcriber != null) {
     eventBus.unregister(mSubcriber);
   }
 }
コード例 #2
0
  @Override
  public void onDestroy() {
    Log.d(TAG, "onDestroy");
    super.onDestroy();

    eventBus.unregister(this);

    finalizePlayer();

    NotificationManager manager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
    manager.cancel(R.id.notification_id);

    abandonAudioFocus();
  }
コード例 #3
0
 @Override
 public void onDestroy() {
   super.onDestroy();
   mBus.unregister(this);
 }
コード例 #4
0
 @Override
 protected void onPause() {
   super.onPause();
   mBus.unregister(this);
 }
コード例 #5
0
 @Override
 protected void onDestroy() {
   // Unregister
   bus.unregister(this);
   super.onDestroy();
 }
コード例 #6
0
 @Override
 public void onDetach() {
   mEventBus.unregister(this);
   getView().hideProgress();
 }
コード例 #7
0
 @Override
 public void onStop() {
   super.onStop();
   mBus.post(MyLocationManager.UnregisterEvent.INSTANCE);
   mBus.unregister(this);
 }
コード例 #8
0
 @Override
 public void onPause() {
   super.onPause();
   mBus.unregister(this);
 }
コード例 #9
0
 @Override
 public void onPause() {
   bus.unregister(this);
 }
コード例 #10
0
ファイル: AlloyListSALE.java プロジェクト: samirgoel3/CMTPOS
 @Override
 protected void onDestroy() {
   bus.unregister(this);
   SaleActivitiesStatus.isAlloyListInSAlemOduleIsOpen = false;
   super.onDestroy();
 }
コード例 #11
0
 @Override
 protected void onStop() {
   super.onStop();
   bus.unregister(this);
 }