@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); }
public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); if (org != null) outState.putParcelable(EXTRA_USER, org); }