Android.App.FragmentManager Members

The members of Android.App.FragmentManager are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
PopBackStackInclusivePopBackStackFlags (1). Flag for FragmentManager.PopBackStack(string, Android.App.PopBackStackFlags) and FragmentManager.PopBackStack(int, Android.App.PopBackStackFlags): If set, and the name or ID of a back stack entry has been supplied, then all matching entries will be consumed until one that doesn't match is found or the bottom of the stack is reached.

Public Properties

[read-only]
abstract
BackStackEntryCountint. Return the number of entries currently in the back stack.
[read-only]
abstract
IsDestroyedbool. Returns true if the final Activity.OnDestroy call has been made on the FragmentManager's Activity, so this instance is now dead.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

abstract
AddOnBackStackChangedListener(FragmentManager.IOnBackStackChangedListener)
Add a new listener for changes to the fragment back stack.
abstract
BeginTransaction() : FragmentTransaction
Start a series of edit operations on the Fragments associated with this FragmentManager.
abstract
Dump(string, Java.IO.FileDescriptor, Java.IO.PrintWriter, string[])
Print the FragmentManager's state into the given stream.
static
EnableDebugLogging(bool)
Control whether the framework's internal fragment manager debugging logs are turned on.
abstract
ExecutePendingTransactions() : bool
After a Android.App.FragmentTransaction is committed with FragmentTransaction.Commit, it is scheduled to be executed asynchronously on the process's main thread.
abstract
FindFragmentById(int) : Fragment
Finds a fragment that was identified by the given id either when inflated from XML or as the container ID when added in a transaction.
FindFragmentById<T>(int) : T
Documentation for this section has not yet been entered.
abstract
FindFragmentByTag(string) : Fragment
Finds a fragment that was identified by the given tag either when inflated from XML or as supplied when added in a transaction.
FindFragmentByTag<T>(string) : T
Documentation for this section has not yet been entered.
abstract
GetBackStackEntryAt(int) : FragmentManager.IBackStackEntry
Return the BackStackEntry at index index in the back stack; entries start index 0 being the bottom of the stack.
abstract
GetFragment(Android.OS.Bundle, string) : Fragment
Retrieve the current Fragment instance for a reference previously placed with FragmentManager.PutFragment(Android.OS.Bundle, System.String, System.String).
GetFragment<T>(Android.OS.Bundle, string) : T
Documentation for this section has not yet been entered.
InvalidateOptionsMenu()
Invalidate the attached activity's options menu as necessary.
abstract
PopBackStack()
Pop the top state off the back stack.
abstract
PopBackStack(int, PopBackStackFlags)
Pop all back stack states up to the one with the given identifier.
abstract
PopBackStack(string, PopBackStackFlags)
Pop the last fragment transition from the manager's fragment back stack.
abstract
PopBackStackImmediate() : bool
Like FragmentManager.PopBackStack, but performs the operation immediately inside of the call.
abstract
PopBackStackImmediate(int, PopBackStackFlags) : bool
Like FragmentManager.PopBackStack(int, Android.App.PopBackStackFlags), but performs the operation immediately inside of the call.
abstract
PopBackStackImmediate(string, PopBackStackFlags) : bool
Like FragmentManager.PopBackStack(string, Android.App.PopBackStackFlags), but performs the operation immediately inside of the call.
abstract
PutFragment(Android.OS.Bundle, string, Fragment)
Put a reference to a fragment in a Bundle.
abstract
RemoveOnBackStackChangedListener(FragmentManager.IOnBackStackChangedListener)
Remove a listener that was previously added with FragmentManager.AddOnBackStackChangedListener(.IOnBackStackChangedListener).
abstract
SaveFragmentInstanceState(Fragment) : Fragment.SavedState
Save the current instance state of the given Fragment.

Public Events

BackStackChangedDocumentation for this section has not yet been entered.