@Override
 public void onSaveInstanceState(Bundle outState) {
   super.onSaveInstanceState(outState);
   outState.putSerializable("bean", bean);
   outState.putSerializable("userBean", userBean);
   outState.putString("token", token);
 }
Пример #2
0
  @Override
  public void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);
    outState.putParcelable("account", accountBean);
    outState.putParcelable("userBean", userBean);
    outState.putString("token", token);

    //        outState.putSerializable("bean", getList());
    //        outState.putSerializable("groupDataCache", groupDataCache);
    //        outState.putString("currentGroupId", currentGroupId);
  }
  @Override
  public void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);
    outState.putSerializable("account", accountBean);
    outState.putSerializable("bean", bean);
    outState.putSerializable("userBean", userBean);
    outState.putString("token", token);

    outState.putSerializable("hashmap", hashMap);
    outState.putString("selectedId", selectedId);
  }