@Override
 protected void onDestroy() {
   try {
     mObserverManager.fire(new OnDestroyEvent());
   } finally {
     try {
       Proton.destroyInjector(this);
     } finally {
       super.onDestroy();
     }
   }
 }
Пример #2
0
 @Override
 protected void onDestroy() {
   try {
     eventManager.fire(new OnDestroyEvent());
   } finally {
     try {
       RoboGuice.destroyInjector(this);
     } finally {
       super.onDestroy();
     }
   }
 }
Пример #3
0
 @Override
 public void onDestroy() {
   super.onDestroy();
   if (hasWindowFocus()) unbindXMPPService();
   getContentResolver().unregisterContentObserver(mContactObserver);
 }
Пример #4
0
 /** Function that is called when the activity is destroyed */
 @Override
 protected void onDestroy() {
   super.onDestroy();
   mDbHelper.close();
 }
Пример #5
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   unregisterReceiver(receiver);
 }
 @Override
 protected void onDestroy() {
   mSignInHelper.stop();
   super.onDestroy();
 }