FragmentManager.PopBackStackImmediate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| PopBackStackImmediate(Int32, PopBackStackFlags) |
Like |
| PopBackStackImmediate(String, PopBackStackFlags) |
Like |
| PopBackStackImmediate() |
Like |
PopBackStackImmediate(Int32, PopBackStackFlags)
Like #popBackStack(int, int), but performs the operation immediately
inside of the call.
[Android.Runtime.Register("popBackStackImmediate", "(II)Z", "GetPopBackStackImmediate_IIHandler")]
public abstract bool PopBackStackImmediate(int id, Android.App.PopBackStackFlags flags);
[<Android.Runtime.Register("popBackStackImmediate", "(II)Z", "GetPopBackStackImmediate_IIHandler")>]
abstract member PopBackStackImmediate : int * Android.App.PopBackStackFlags -> bool
Parameters
- id
- Int32
int
- flags
- PopBackStackFlags
int
Returns
Returns true if there was something popped, else false.
- Attributes
Remarks
Executes pending operations and then pops to the specified identifier synchronously, without forcing the start of all postponed transactions.
Android reference for android.app.FragmentManager.popBackStackImmediate.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
PopBackStackImmediate(String, PopBackStackFlags)
Like #popBackStack(String, int), but performs the operation immediately
inside of the call.
[Android.Runtime.Register("popBackStackImmediate", "(Ljava/lang/String;I)Z", "GetPopBackStackImmediate_Ljava_lang_String_IHandler")]
public abstract bool PopBackStackImmediate(string? name, Android.App.PopBackStackFlags flags);
[<Android.Runtime.Register("popBackStackImmediate", "(Ljava/lang/String;I)Z", "GetPopBackStackImmediate_Ljava_lang_String_IHandler")>]
abstract member PopBackStackImmediate : string * Android.App.PopBackStackFlags -> bool
Parameters
- name
- String
String
- flags
- PopBackStackFlags
int
Returns
Returns true if there was something popped, else false.
- Attributes
Remarks
Executes pending operations and then pops to the specified name synchronously, without forcing the start of all postponed transactions. On API level 26 and later, if name is null, the primary navigation fragment's child manager gets the first opportunity to handle the pop.
Android reference for android.app.FragmentManager.popBackStackImmediate.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
PopBackStackImmediate()
Like #popBackStack(), but performs the operation immediately
inside of the call.
[Android.Runtime.Register("popBackStackImmediate", "()Z", "GetPopBackStackImmediateHandler")]
public abstract bool PopBackStackImmediate();
[<Android.Runtime.Register("popBackStackImmediate", "()Z", "GetPopBackStackImmediateHandler")>]
abstract member PopBackStackImmediate : unit -> bool
Returns
Returns true if there was something popped, else false.
- Attributes
Remarks
Executes pending operations and then pops synchronously, without forcing the start of all postponed transactions. On API level 26 and later, the primary navigation fragment's child manager gets the first opportunity to handle the pop.
Android reference for android.app.FragmentManager.popBackStackImmediate.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.