예제 #1
0
  public Fragment removeFragment(Fragment fragment) {
    getFragments().remove(fragment);
    fragment.setIonType(null);

    return fragment;
  }
예제 #2
0
  public Fragment addFragment(Fragment fragment) {
    getFragments().add(fragment);
    fragment.setIonType(this);

    return fragment;
  }