@Override protected void onDetachedFromWindow() { super.onDetachedFromWindow(); if (mSubcriber != null) { eventBus.unregister(mSubcriber); } }
@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(); }
@Override public void onDestroy() { super.onDestroy(); mBus.unregister(this); }
@Override protected void onPause() { super.onPause(); mBus.unregister(this); }
@Override protected void onDestroy() { // Unregister bus.unregister(this); super.onDestroy(); }
@Override public void onDetach() { mEventBus.unregister(this); getView().hideProgress(); }
@Override public void onStop() { super.onStop(); mBus.post(MyLocationManager.UnregisterEvent.INSTANCE); mBus.unregister(this); }
@Override public void onPause() { super.onPause(); mBus.unregister(this); }
@Override public void onPause() { bus.unregister(this); }
@Override protected void onDestroy() { bus.unregister(this); SaleActivitiesStatus.isAlloyListInSAlemOduleIsOpen = false; super.onDestroy(); }
@Override protected void onStop() { super.onStop(); bus.unregister(this); }