Lines Matching refs:Fragment

16  * API for performing a set of Fragment operations.
31 * Calls {@link #add(int, Fragment, String)} with a 0 containerViewId.
33 public abstract FragmentTransaction add(Fragment fragment, String tag);
36 * Calls {@link #add(int, Fragment, String)} with a null tag.
38 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment);
42 * also have its view (if {@link Fragment#onCreateView Fragment.onCreateView}
55 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment,
59 * Calls {@link #replace(int, Fragment, String)} with a null tag.
61 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment);
65 * essentially the same as calling {@link #remove(Fragment)} for all
67 * and then {@link #add(int, Fragment, String)} with the same arguments
79 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment,
90 public abstract FragmentTransaction remove(Fragment fragment);
101 public abstract FragmentTransaction hide(Fragment fragment);
112 public abstract FragmentTransaction show(Fragment fragment);
125 public abstract FragmentTransaction detach(Fragment fragment);
129 * the UI with {@link #detach(Fragment)}. This
137 public abstract FragmentTransaction attach(Fragment fragment);
143 * {@link Fragment#getChildFragmentManager() child FragmentManager} will be called first
155 public abstract FragmentTransaction setPrimaryNavigationFragment(Fragment fragment);
177 /** Fragment is being added onto the stack */
179 /** Fragment is being removed from the stack */
181 /** Fragment should simply fade in or out; that is, no strong navigation associated
220 * Used with to map a View from a removed or hidden Fragment to a View from a shown
221 * or added Fragment.
222 * @param sharedElement A View in a disappearing Fragment to match with a View in an
223 * appearing Fragment.
224 * @param name The transitionName for a View in an appearing Fragment to match to the shared
307 * Added Fragments may have {@link Fragment#onCreate(Bundle)} called before replaced
308 * Fragments have {@link Fragment#onDestroy()} called.