@Override public void onStop() { Log.d(TAG, "onStop"); unregisterSurveysReceiver(); super.onStop(); }
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(); }