Dialog.Dismiss 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.
Dismiss this dialog, removing it from the screen.
[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
Implements
- Attributes
Remarks
Dismiss this dialog, removing it from the screen. This method can be invoked safely from any thread. Note that you should not override this method to do cleanup when the dialog is dismissed, instead implement that in #onStop
.
Java documentation for android.app.Dialog.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.