次の方法で共有


DialogFragment.Dismiss Method

Definition

Dismiss the fragment and its dialog.

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

Remarks

Dismiss the fragment and its dialog. If the fragment was added to the back stack, all back stack state up to and including this entry will be popped. Otherwise, a new transaction will be committed to remove the fragment.

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

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