android.support.v7.app.ActionBarActivity.onSaveInstanceState()方法的使用及代码示例

x33g5p2x  于11个月前 转载在 其他  
字(2.8k)|赞(0)|评价(0)|浏览(33)

本文整理了Java中android.support.v7.app.ActionBarActivity.onSaveInstanceState()方法的一些代码示例,展示了ActionBarActivity.onSaveInstanceState()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ActionBarActivity.onSaveInstanceState()方法的具体详情如下:
包路径:android.support.v7.app.ActionBarActivity
类名称:ActionBarActivity
方法名:onSaveInstanceState

ActionBarActivity.onSaveInstanceState介绍

暂无

代码示例

代码示例来源:origin: Microsoft/Cognitive-Vision-Android

@Override
protected void onSaveInstanceState(Bundle outState) {
  super.onSaveInstanceState(outState);
  outState.putParcelable("ImageUri", mUriPhotoTaken);
}

代码示例来源:origin: Microsoft/Cognitive-Emotion-Android

@Override
protected void onSaveInstanceState(Bundle outState) {
  super.onSaveInstanceState(outState);
  outState.putParcelable("ImageUri", mUriPhotoTaken);
}

代码示例来源:origin: SimonMarquis/Android-PreferencesManager

@Override
protected void onSaveInstanceState(Bundle outState) {
  if (files != null) {
    JSONArray json = new JSONArray();
    for (String file : files) {
      json.put(file);
    }
    outState.putString(KEY_FILES, json.toString());
  }
  super.onSaveInstanceState(outState);
}

代码示例来源:origin: michal-luszczuk/tomorrow-mvp

@Override
protected void onSaveInstanceState(Bundle outState) {
  super.onSaveInstanceState(outState);
  presenter.onSaveInstanceState(outState);
}

代码示例来源:origin: sismics/reader

@Override
protected void onSaveInstanceState(Bundle outState) {
  super.onSaveInstanceState(outState);
  outState.putInt("drawerItemSelected", drawerList.getCheckedItemPosition());
}

代码示例来源:origin: fengdai/FragmentMaster

@Override
protected void onSaveInstanceState(Bundle outState) {
  super.onSaveInstanceState(outState);
  mImpl.onSaveInstanceState(outState);
}

代码示例来源:origin: purrprogramming/voice-pitch-analyzer

@Override
  public void onSaveInstanceState(Bundle outState, PersistableBundle outPersistentState) {
    super.onSaveInstanceState(outState, outPersistentState);
    savePreferences();
  }
}

代码示例来源:origin: namndbka/QDict

@Override
protected void onSaveInstanceState(Bundle outState) {
  super.onSaveInstanceState(outState);
  mHelper.onSaveInstanceState(outState);
}

代码示例来源:origin: SimonMarquis/Android-PreferencesManager

@Override
protected void onSaveInstanceState(Bundle outState) {
  outState.putBoolean(KEY_HAS_CONTENT_CHANGED, mHasContentChanged);
  outState.putString(KEY_COLOR_THEME, mColorTheme.name());
  outState.putInt(KEY_FONT_SIZE, mXmlFontSize.getSize());
  outState.putBoolean(KEY_NEED_UPDATE_ON_ACTIVITY_FINISH, mNeedUpdateOnActivityFinish);
  super.onSaveInstanceState(outState);
}

代码示例来源:origin: geeksonsecurity/android-overlay-protection

@Override
protected void onSaveInstanceState(Bundle outState) {
  super.onSaveInstanceState(outState);
  outState.putBundle("model", mWizardModel.save());
}

代码示例来源:origin: techery/presenta

@Override
protected void onSaveInstanceState(Bundle outState) {
 super.onSaveInstanceState(outState);
 flowSupport.onSaveInstanceState(outState);
 getBundleServiceRunner(this).onSaveInstanceState(outState);
}

相关文章