Android APIs
Added in API level 11
public static interface

FragmentManager.BackStackEntry

android.app.FragmentManager.BackStackEntry

Class Overview

Representation of an entry on the fragment back stack, as created with FragmentTransaction.addToBackStack(). Entries can later be retrieved with FragmentManager.getBackStackEntry().

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.

Summary

Public Methods
abstract CharSequence getBreadCrumbShortTitle()
Return the short bread crumb title for the entry, or null if it does not have one.
abstract int getBreadCrumbShortTitleRes()
Return the short bread crumb title resource identifier for the entry, or 0 if it does not have one.
abstract CharSequence getBreadCrumbTitle()
Return the full bread crumb title for the entry, or null if it does not have one.
abstract int getBreadCrumbTitleRes()
Return the full bread crumb title resource identifier for the entry, or 0 if it does not have one.
abstract int getId()
Return the unique identifier for the entry.
abstract String getName()
Get the name that was supplied to FragmentTransaction.addToBackStack(String) when creating this entry.

Public Methods

public abstract CharSequence getBreadCrumbShortTitle ()

Added in API level 11

Return the short bread crumb title for the entry, or null if it does not have one.

public abstract int getBreadCrumbShortTitleRes ()

Added in API level 11

Return the short bread crumb title resource identifier for the entry, or 0 if it does not have one.

public abstract CharSequence getBreadCrumbTitle ()

Added in API level 11

Return the full bread crumb title for the entry, or null if it does not have one.

public abstract int getBreadCrumbTitleRes ()

Added in API level 11

Return the full bread crumb title resource identifier for the entry, or 0 if it does not have one.

public abstract int getId ()

Added in API level 11

Return the unique identifier for the entry. This is the only representation of the entry that will persist across activity instances.

public abstract String getName ()

Added in API level 14

Get the name that was supplied to FragmentTransaction.addToBackStack(String) when creating this entry.