Exemplo n.º 1
0
  @Override
  public void onActivityCreated(Bundle savedInstanceState) {
    org = (User) getArguments().getParcelable("org");
    if (org == null && savedInstanceState != null)
      org = savedInstanceState.getParcelable(EXTRA_USER);
    setEmptyText(R.string.no_members);

    super.onActivityCreated(savedInstanceState);
  }
Exemplo n.º 2
0
  public void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);

    if (org != null) outState.putParcelable(EXTRA_USER, org);
  }