public static interface FragmentManager.BackStackEntry
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.
Modifier and Type | Method and Description |
---|---|
CharSequence |
getBreadCrumbShortTitle()
Return the short bread crumb title for the entry, or null if it
does not have one.
|
int |
getBreadCrumbShortTitleRes()
Return the short bread crumb title resource identifier for the entry,
or 0 if it does not have one.
|
CharSequence |
getBreadCrumbTitle()
Return the full bread crumb title for the entry, or null if it
does not have one.
|
int |
getBreadCrumbTitleRes()
Return the full bread crumb title resource identifier for the entry,
or 0 if it does not have one.
|
int |
getId()
Return the unique identifier for the entry.
|
String |
getName()
Get the name that was supplied to
FragmentTransaction.addToBackStack(String) when creating this entry. |
int getId()
String getName()
FragmentTransaction.addToBackStack(String)
when creating this entry.@StringRes int getBreadCrumbTitleRes()
@StringRes int getBreadCrumbShortTitleRes()
CharSequence getBreadCrumbTitle()
CharSequence getBreadCrumbShortTitle()