@Override
  public void onDetach() {
    super.onDetach();

    // Reset the active callbacks interface to the dummy implementation.
    mCallbacks = sDummyCallbacks;
  }
Ejemplo n.º 2
0
  @Override
  public void onDetach() {
    super.onDetach();
    if (task != null) task.cancel(true);

    if (removeTask != null) removeTask.cancel(true);
  }
 @Override
 public void onDetach() {
   // TODO Auto-generated method stub
   Log.i("OnDetach", "leaving this fragment");
   mRequestQueue.cancelAll(REQUEST_TAG);
   super.onDetach();
 }
  @Override
  public void onDetach() {
    super.onDetach();

    Contestant.removeListener(this);
    mCallbacks = sDummyCallbacks;
  }
Ejemplo n.º 5
0
  @Override
  public void onDetach() {
    super.onDetach();
    mCallbacks = null;

    mWizardModel.unregisterListener(this);
  }
 @Override
 public void onDetach() {
   // All dialogs should be closed before leaving the activity in order to avoid
   // the: Activity has leaked window com.android.internal.policy... exception
   if (progressBar != null && progressBar.isShown()) {
     progressBar.setVisibility(View.GONE);
   }
   super.onDetach();
 }
  @Override
  public void onDetach() {
    super.onDetach();

    // Reset the active callbacks interface to the dummy implementation.
    mCallbacks = sDummyCallbacks;

    lifecycle$.onNext(FragmentEvent.DETACH);
  }
Ejemplo n.º 8
0
  @Override
  public void onDetach() {
    super.onDetach();

    try {
      Field childFragmentManager = Fragment.class.getDeclaredField("mChildFragmentManager");
      childFragmentManager.setAccessible(true);
      childFragmentManager.set(this, null);
    } catch (Exception e) {
      Log.e(TAG, "onDetach(), " + e.toString());
    }
  }
 @Override
 public void onDetach() {
   super.onDetach();
 }
 @Override
 public void onDetach() {
   super.onDetach();
   mCallbacks = sDummyCallbacks;
 }
 @Override
 public void onDetach() {
   mCallback = null;
   super.onDetach();
 }
Ejemplo n.º 12
0
 @Override
 public void onDetach() {
   // TODO Auto-generated method stub
   super.onDetach();
 }
Ejemplo n.º 13
0
 @Override
 public void onDetach() {
   super.onDetach();
   mCallbacks = sMainCallbacks;
 }
 @Override
 public void onDetach() {
   super.onDetach();
   Log.d(TAG, "onDetach()");
   mActivity = null;
 }
Ejemplo n.º 15
0
 @Override
 public void onDetach() {
   super.onDetach();
   mListener = null;
 }
 @Override
 public void onDetach() {
   super.onDetach();
   getActivity().getContentResolver().unregisterContentObserver(mEventsObserver);
 }
Ejemplo n.º 17
0
 @Override
 public void onDetach() {
   super.onDetach();
   mCallbacks = null;
 }