@Override
 public void onDetach() {
   if (progressDialog != null && progressDialog.isShowing()) {
     progressDialog.dismiss();
   }
   super.onDetach();
 }
  @Override
  public void onDetach() {
    super.onDetach();

    // Reset the active callbacks interface to the dummy implementation.
    mCallbacks = sDummyCallbacks;
  }
 @Override
 public void onDetach() {
   if (isRemoving()) {
     if (mDialogFragment != null) {
       mDialogFragment.dismiss();
       mDialogFragment = null;
     }
   }
   super.onDetach();
 }
Пример #4
0
 @Override
 public void onDetach() {
   super.onDetach();
   titleChangeListener = null;
 }
Пример #5
0
 @Override
 public void onDetach() {
   super.onDetach();
   PreferenceManager.getDefaultSharedPreferences(getActivity())
       .unregisterOnSharedPreferenceChangeListener(this);
 }
Пример #6
0
 @Override
 public void onDetach() {
   super.onDetach();
   getPreferenceScreen().getSharedPreferences().edit().clear().apply();
   isReady = false;
 }
Пример #7
0
  @Override
  public void onDetach() {
    super.onDetach();

    prefsFragmentInterface = null;
  }
 @Override
 public void onDetach() {
   mSharedPreferences.unregisterOnSharedPreferenceChangeListener(this);
   super.onDetach();
 }
Пример #9
0
 @Override
 public void onDetach() {
   super.onDetach();
   mListener = null;
 }