共用方式為


DialogFragment.DismissAllowingStateLoss Method

Definition

Version of #dismiss() that uses FragmentTransaction#commitAllowingStateLoss() FragmentTransaction.commitAllowingStateLoss().

[Android.Runtime.Register("dismissAllowingStateLoss", "()V", "GetDismissAllowingStateLossHandler")]
public virtual void DismissAllowingStateLoss ();
[<Android.Runtime.Register("dismissAllowingStateLoss", "()V", "GetDismissAllowingStateLossHandler")>]
abstract member DismissAllowingStateLoss : unit -> unit
override this.DismissAllowingStateLoss : unit -> unit
Attributes

Remarks

Version of #dismiss() that uses FragmentTransaction#commitAllowingStateLoss() FragmentTransaction.commitAllowingStateLoss(). See linked documentation for further details.

Java documentation for android.app.DialogFragment.dismissAllowingStateLoss().

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