belongs to Maven artifact com.android.support:support-fragment:28.0.0-alpha1
FragmentManager.BackStackEntry
public
static
interface
FragmentManager.BackStackEntry
android.support.v4.app.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.
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
|
Public methods
getBreadCrumbShortTitle
CharSequence getBreadCrumbShortTitle ()
Return the short bread crumb title for the entry, or null if it does not have one.
Returns | |
---|---|
CharSequence |
getBreadCrumbShortTitleRes
int getBreadCrumbShortTitleRes ()
Return the short bread crumb title resource identifier for the entry, or 0 if it does not have one.
Returns | |
---|---|
int |
getBreadCrumbTitle
CharSequence getBreadCrumbTitle ()
Return the full bread crumb title for the entry, or null if it does not have one.
Returns | |
---|---|
CharSequence |
getBreadCrumbTitleRes
int getBreadCrumbTitleRes ()
Return the full bread crumb title resource identifier for the entry, or 0 if it does not have one.
Returns | |
---|---|
int |
getId
int getId ()
Return the unique identifier for the entry. This is the only representation of the entry that will persist across activity instances.
Returns | |
---|---|
int |
getName
String getName ()
Get the name that was supplied to
FragmentTransaction.addToBackStack(String)
when creating this entry.
Returns | |
---|---|
String |
Annotations
Interfaces
- ActionBarDrawerToggle.Delegate
- ActionBarDrawerToggle.DelegateProvider
- ActivityCompat.OnRequestPermissionsResultCallback
- ActivityCompat.PermissionCompatDelegate
- FragmentManager.BackStackEntry
- FragmentManager.OnBackStackChangedListener
- LoaderManager.LoaderCallbacks
- NotificationCompat.Action.Extender
- NotificationCompat.Extender
- SharedElementCallback.OnSharedElementsReadyListener
- TaskStackBuilder.SupportParentable
Classes
- ActionBarDrawerToggle
- ActivityCompat
- ActivityManagerCompat
- ActivityOptionsCompat
- AlarmManagerCompat
- AppLaunchChecker
- AppOpsManagerCompat
- BundleCompat
- DialogFragment
- Fragment
- Fragment.SavedState
- FragmentActivity
- FragmentContainer
- FragmentController
- FragmentHostCallback
- FragmentManager
- FragmentManager.FragmentLifecycleCallbacks
- FragmentManagerNonConfig
- FragmentPagerAdapter
- FragmentStatePagerAdapter
- FragmentTabHost
- FragmentTransaction
- FrameMetricsAggregator
- JobIntentService
- ListFragment
- LoaderManager
- NavUtils
- NotificationCompat
- NotificationCompat.Action
- NotificationCompat.Action.Builder
- NotificationCompat.Action.WearableExtender
- NotificationCompat.BigPictureStyle
- NotificationCompat.BigTextStyle
- NotificationCompat.Builder
- NotificationCompat.CarExtender
- NotificationCompat.CarExtender.UnreadConversation
- NotificationCompat.CarExtender.UnreadConversation.Builder
- NotificationCompat.DecoratedCustomViewStyle
- NotificationCompat.InboxStyle
- NotificationCompat.MessagingStyle
- NotificationCompat.MessagingStyle.Message
- NotificationCompat.Style
- NotificationCompat.WearableExtender
- NotificationCompatExtras
- NotificationCompatSideChannelService
- NotificationManagerCompat
- RemoteInput
- RemoteInput.Builder
- ServiceCompat
- ShareCompat
- ShareCompat.IntentBuilder
- ShareCompat.IntentReader
- SharedElementCallback
- TaskStackBuilder
Exceptions