Package icyllis.modernui.fragment
Interface FragmentManager.BackStackEntry
- Enclosing class:
FragmentManager
public static interface FragmentManager.BackStackEntry
Representation of an entry on the fragment back stack, as created
with
FragmentTransaction.addToBackStack(). Entries can later be
retrieved with FragmentManager.getBackStackEntryAt().
Note that you should never hold on to a BackStackEntry object;
the identifier as returned by getId() is the only thing that
will be persisted across activity instances.
-
Method Summary
Modifier and TypeMethodDescriptionintgetId()Return the unique identifier for the entry.getName()Get the name that was supplied toFragmentTransaction.addToBackStack(String)when creating this entry.
-
Method Details
-
getId
int getId()Return the unique identifier for the entry. This is the only representation of the entry that will persist across activity instances. -
getName
Get the name that was supplied toFragmentTransaction.addToBackStack(String)when creating this entry.
-