Android.App.FragmentManager.PopBackStack Method
Pop all back stack states up to the one with the given identifier.

Syntax

[Android.Runtime.Register("popBackStack", "(II)V", "GetPopBackStack_IIHandler")]
public abstract void PopBackStack (int id, [Android.Runtime.GeneratedEnum] PopBackStackFlags flags)

Parameters

id
Identifier of the stated to be popped. If no identifier exists, false is returned. The identifier is the number returned by FragmentTransaction.Commit. The FragmentManager.PopBackStackInclusive flag can be used to control whether the named state itself is popped.
flags
Either 0 or FragmentManager.PopBackStackInclusive.

Remarks

Pop all back stack states up to the one with the given identifier. This function is asynchronous -- it enqueues the request to pop, but the action will not be performed until the application returns to its event loop.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11