共用方式為


FragmentManager.PopBackStackImmediate Method

Definition

Overloads

PopBackStackImmediate(Int32, PopBackStackFlags)

Like #popBackStack(int, int), but performs the operation immediately inside of the call.

PopBackStackImmediate(String, PopBackStackFlags)

Like #popBackStack(String, int), but performs the operation immediately inside of the call.

PopBackStackImmediate()

Like #popBackStack(), but performs the operation immediately inside of the call.

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

Returns

Returns true if there was something popped, else false.

Attributes

Remarks

Like #popBackStack(int, int), but performs the operation immediately inside of the call. This is like calling #executePendingTransactions() afterwards without forcing the start of postponed Transactions.

Java documentation for android.app.FragmentManager.popBackStackImmediate(int, int).

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

Returns

Returns true if there was something popped, else false.

Attributes

Remarks

Like #popBackStack(String, int), but performs the operation immediately inside of the call. This is like calling #executePendingTransactions() afterwards without forcing the start of postponed Transactions.

Java documentation for android.app.FragmentManager.popBackStackImmediate(java.lang.String, int).

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

Like #popBackStack(), but performs the operation immediately inside of the call. This is like calling #executePendingTransactions() afterwards without forcing the start of postponed Transactions.

Java documentation 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