@Override
 public void onHiddenChanged(boolean hidden) {
   super.onHiddenChanged(hidden);
   if (!hidden) {
     App.getQuestManager().refreshWithQuestsFromServer();
   }
 }
 @Override
 public void onHiddenChanged(boolean hidden) {
   super.onHiddenChanged(hidden);
   if (hidden && mSwipeBackLayout != null) {
     mSwipeBackLayout.hiddenFragment();
   }
 }
 @Override
 public void onHiddenChanged(boolean hidden) {
   super.onHiddenChanged(hidden);
   this.hidden = hidden;
   if (!hidden) {
     refresh();
   }
 }
Beispiel #4
0
 @Override
 public void onHiddenChanged(boolean hidden) {
   super.onHiddenChanged(hidden);
   if (!hidden) {
     DDGActionBarManager.getInstance().setSearchBarText(mainWebView.getUrl());
     mainWebView.getSettings().setJavaScriptEnabled(PreferencesManager.getEnableJavascript());
   }
 }
 /**
  * 当前fragment被隐藏或被显示回调函数
  *
  * @param hidden
  */
 @Override
 public void onHiddenChanged(boolean hidden) {
   super.onHiddenChanged(hidden);
   if (hidden) {
     mapView.onPause();
     deactivate();
   } else {
     mapView.onResume();
   }
 }
Beispiel #6
0
  @Override
  public void onHiddenChanged(boolean hidden) {
    super.onHiddenChanged(hidden);

    LogUtils.d(TAG, "onHiddenChanged: " + this.getClass().getName());

    if (!hidden) {
      onFragmentShow();
    } else {
      onFragmentHide();
    }
  }
  @Override
  public void onHiddenChanged(boolean hidden) {
    super.onHiddenChanged(hidden);

    final Session session = Session.getActiveSession();
    if (mUser == null && !hidden && session != null && session.isOpened()) {
      if (!isMakeMeRequestStarted) {
        makeMeRequest();
        isMakeMeRequestStarted = true;
      }
      if (!isStatusesRequestStarted) {
        startStatusesRequest();
        isStatusesRequestStarted = true;
      }
      showProgressDialog();
    }
  }
 @Override
 public void onHiddenChanged(boolean isNowHidden) {
   if (isNowHidden) {
     Timber.d(this.getClass().getSimpleName() + " isNowHidden");
     _teardownViewBindings(signInButton);
   } else {
     Timber.d(this.getClass().getSimpleName() + " isNowVisible");
     _setupViewBindings(
         signInButton,
         errorTextView,
         myAccountDataLoginState,
         usernameField,
         passwordField,
         institutionRadio,
         userModel.getLoginStateObservable());
   }
   super.onHiddenChanged(isNowHidden);
 }
 @Override
 public void onHiddenChanged(boolean hidden) {
   super.onHiddenChanged(hidden);
 }
Beispiel #10
0
 @Override
 public void onHiddenChanged(boolean hidden) {
   // TODO Auto-generated method stub
   super.onHiddenChanged(hidden);
 }
 @Override
 public void onHiddenChanged(boolean hidden) {
   Log.d("FragmentCycle===>", "onHiddenChanged");
   super.onHiddenChanged(hidden);
 }