@Override
 public void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   if (mActivatedPosition != ListView.INVALID_POSITION) {
     outState.putInt(STATE_ACTIVATED_POSITION, mActivatedPosition);
   }
 }
 @Override
 public void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   if (mActivatedPosition != ListView.INVALID_POSITION) {
     // Serialize and persist the activated item position.
     outState.putInt(STATE_ACTIVATED_POSITION, mActivatedPosition);
   }
 }
 @Override
 public void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   outState.putString("TAG", TAG);
   outState.putInt("countOk", countOk);
   outState.putParcelable("playerOne", player1);
   outState.putParcelable("playerTwo", player2);
 }
  @Override
  public void onSaveInstanceState(Bundle outState) {

    super.onSaveInstanceState(outState);

    if (mBalanceText != null) {
      outState.putString("balance_text", mBalanceText.getText().toString());
      outState.putString("balance_currency", mBalanceCurrency.getText().toString());
    }
  }
  @Override
  public void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);
    if (!TextUtils.isEmpty(mSearchTerm)) {
      // Saves the current search string
      outState.putString(SearchManager.QUERY, mSearchTerm);

      // Saves the currently selected contact
      outState.putInt(STATE_PREVIOUSLY_SELECTED_KEY, getListView().getCheckedItemPosition());
    }
  }
  @Override
  public void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);

    // BEGIN_INCLUDE(save_instance)
    // Allow the Controller to save it's instance state so that any checked items are
    // stored
    if (mMultiSelectController != null) {
      mMultiSelectController.saveInstanceState(outState);
    }
    // END_INCLUDE(save_instance)
  }
Exemplo n.º 7
0
 @Override
 public void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   outState.putInt("curChoice", mCurCheckPosition);
 }
Exemplo n.º 8
0
 @Override
 public void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   mUiHelper.onSaveInstanceState(outState);
 }
 @Override
 public void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   outState.putLong(CURRENT_CHOICE, curCheckPosition);
 }
 @Override
 public void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   outState.putInt(STATE_CHECKED_POSITION, mCheckedPosition);
 }
Exemplo n.º 11
0
 @Override
 public void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   Icepick.saveInstanceState(this, outState);
 }
Exemplo n.º 12
0
 @Override
 public void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   outState.putSerializable(MATCH_STATE, (Serializable) matches);
 }