Ejemplo n.º 1
0
 @Override
 public void onSaveInstanceState(Bundle outState) {
   outState.putParcelableArrayList("allTapItem", allTapItem);
   outState.putParcelableArrayList("allToiletItem", allToiletItem);
   outState.putParcelableArrayList("allFoodItem", allFoodItem);
   super.onSaveInstanceState(outState);
 }
Ejemplo n.º 2
0
 @Override
 public void onSaveInstanceState(Bundle outState) {
   ActionBar actionBar = getSupportActionBar();
   outState.putInt("CurrentTab", actionBar.getSelectedTab().getPosition());
   // actionBar.removeAllTabs();
   super.onSaveInstanceState(outState);
 }
Ejemplo n.º 3
0
  @Override
  protected void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);

    if (this.selectedCountry != null) {
      outState.putParcelable(CountryActivity.INSTANCE_STATE_COUNTRY, this.selectedCountry);
    }
  }
Ejemplo n.º 4
0
 @Override
 public void onSaveInstanceState(Bundle outState) {
   outState.putSerializable(Session.IDENTIFIER, session);
   outState.putInt("Tab", getSupportActionBar().getSelectedNavigationIndex());
   super.onSaveInstanceState(outState);
 }
  @Override
  protected void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);

    activityHelper.onSaveInstanceState(this, outState);
  }
Ejemplo n.º 6
0
  @Override
  protected void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);

    if (chatTarget != null) outState.putParcelable(SAVED_STATE_CHAT_TARGET, chatTarget);
  }
  @Override
  public void onSaveInstanceState(Bundle out) {
    super.onSaveInstanceState(out);

    out.putString("theme", m_theme);
  }
 /* (non-Javadoc)
  * @see android.support.v4.app.FragmentActivity#onSaveInstanceState(android.os.Bundle)
  */
 @Override
 protected void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   mHelper.onSaveInstanceState(outState);
 }
  @Override
  public void onSaveInstanceState(Bundle savedInstanceState) {
    savedInstanceState.putString(SAVE_INSTANCE_CODE_TEXT, mCodeText);

    super.onSaveInstanceState(savedInstanceState);
  }
Ejemplo n.º 10
0
 @Override
 protected void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   outState.putInt("tab", getSupportActionBar().getSelectedNavigationIndex());
 }
 @Override
 protected void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   // Save the selected tab in order to restore in screen rotation
   outState.putInt("tab", getSupportActionBar().getSelectedNavigationIndex());
 }
 @Override
 protected void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   outState.putString("tab", mTabHost.getCurrentTabTag());
 }