Exemple #1
0
  @Override
  protected void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);

    outState.putInt("index", index);
    outState.putSerializable("bean", mBean);
  }
  @Override
  protected void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);

    if (!TextUtils.isEmpty(toolbarTitle)) outState.putString("toolbarTitle", toolbarTitle);
  }