@Override
 protected void onDestroy() {
   try {
     mObserverManager.fire(new OnDestroyEvent());
   } finally {
     try {
       Proton.destroyInjector(this);
     } finally {
       super.onDestroy();
     }
   }
 }
 @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);
 }
 /** 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();
 }