@Override
  public void onStop() {
    Log.d(TAG, "onStop");
    unregisterSurveysReceiver();

    super.onStop();
  }
Esempio n. 2
0
 public void onStop() {
   final Activity activity = getActivity();
   activity.unregisterReceiver(mMediaStatusReceiver);
   ServiceUtils.unbindFromService(mToken);
   super.onStop();
 }
 /* Serializing cities */
 @Override
 public void onStop() {
   cityAdapter.revertData();
   preferencesManager.saveListToFile(cityAdapter.getCities());
   super.onStop();
 }