FragmentManager.BackStackEntry
public
static
interface
FragmentManager.BackStackEntry
| android.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 |
|
Interfaces
- ActionBar.OnMenuVisibilityListener
- ActionBar.OnNavigationListener
- ActionBar.TabListener
- AlarmManager.OnAlarmListener
- Application.ActivityLifecycleCallbacks
- Application.OnProvideAssistDataListener
- AppOpsManager.OnOpChangedListener
- DatePickerDialog.OnDateSetListener
- FragmentBreadCrumbs.OnBreadCrumbClickListener
- FragmentManager.BackStackEntry
- FragmentManager.OnBackStackChangedListener
- KeyguardManager.OnKeyguardExitResult
- LoaderManager.LoaderCallbacks
- Notification.Action.Extender
- Notification.Extender
- PendingIntent.OnFinished
- SearchManager.OnCancelListener
- SearchManager.OnDismissListener
- SharedElementCallback.OnSharedElementsReadyListener
- TimePickerDialog.OnTimeSetListener
- UiAutomation.AccessibilityEventFilter
- UiAutomation.OnAccessibilityEventListener
Classes
- ActionBar
- ActionBar.LayoutParams
- ActionBar.Tab
- Activity
- ActivityGroup
- ActivityManager
- ActivityManager.AppTask
- ActivityManager.MemoryInfo
- ActivityManager.ProcessErrorStateInfo
- ActivityManager.RecentTaskInfo
- ActivityManager.RunningAppProcessInfo
- ActivityManager.RunningServiceInfo
- ActivityManager.RunningTaskInfo
- ActivityManager.TaskDescription
- ActivityOptions
- AlarmManager
- AlarmManager.AlarmClockInfo
- AlertDialog
- AlertDialog.Builder
- AliasActivity
- Application
- ApplicationErrorReport
- ApplicationErrorReport.AnrInfo
- ApplicationErrorReport.BatteryInfo
- ApplicationErrorReport.CrashInfo
- ApplicationErrorReport.RunningServiceInfo
- AppOpsManager
- AutomaticZenRule
- DatePickerDialog
- Dialog
- DialogFragment
- DownloadManager
- DownloadManager.Query
- DownloadManager.Request
- ExpandableListActivity
- Fragment
- Fragment.SavedState
- FragmentBreadCrumbs
- FragmentContainer
- FragmentController
- FragmentHostCallback
- FragmentManager
- FragmentManager.FragmentLifecycleCallbacks
- FragmentManagerNonConfig
- FragmentTransaction
- Instrumentation
- Instrumentation.ActivityMonitor
- Instrumentation.ActivityResult
- IntentService
- KeyguardManager
- KeyguardManager.KeyguardDismissCallback
- KeyguardManager.KeyguardLock
- LauncherActivity
- LauncherActivity.IconResizer
- LauncherActivity.ListItem
- ListActivity
- ListFragment
- LoaderManager
- LocalActivityManager
- MediaRouteActionProvider
- MediaRouteButton
- NativeActivity
- Notification
- Notification.Action
- Notification.Action.Builder
- Notification.Action.WearableExtender
- Notification.BigPictureStyle
- Notification.BigTextStyle
- Notification.Builder
- Notification.CarExtender
- Notification.CarExtender.Builder
- Notification.CarExtender.UnreadConversation
- Notification.DecoratedCustomViewStyle
- Notification.DecoratedMediaCustomViewStyle
- Notification.InboxStyle
- Notification.MediaStyle
- Notification.MessagingStyle
- Notification.MessagingStyle.Message
- Notification.Style
- Notification.WearableExtender
- NotificationChannel
- NotificationChannelGroup
- NotificationManager
- NotificationManager.Policy
- PendingIntent
- PictureInPictureParams
- PictureInPictureParams.Builder
- Presentation
- ProgressDialog
- RemoteAction
- RemoteInput
- RemoteInput.Builder
- SearchableInfo
- SearchManager
- Service
- SharedElementCallback
- TabActivity
- TaskStackBuilder
- TimePickerDialog
- UiAutomation
- UiModeManager
- VoiceInteractor
- VoiceInteractor.AbortVoiceRequest
- VoiceInteractor.CommandRequest
- VoiceInteractor.CompleteVoiceRequest
- VoiceInteractor.ConfirmationRequest
- VoiceInteractor.PickOptionRequest
- VoiceInteractor.PickOptionRequest.Option
- VoiceInteractor.Prompt
- VoiceInteractor.Request
- WallpaperInfo
- WallpaperManager
Exceptions