Partager via


Dialog.SetOnDismissListener(IDialogInterfaceOnDismissListener) Method

Definition

Set a listener to be invoked when the dialog is dismissed.

[Android.Runtime.Register("setOnDismissListener", "(Landroid/content/DialogInterface$OnDismissListener;)V", "GetSetOnDismissListener_Landroid_content_DialogInterface_OnDismissListener_Handler")]
public virtual void SetOnDismissListener (Android.Content.IDialogInterfaceOnDismissListener? listener);
[<Android.Runtime.Register("setOnDismissListener", "(Landroid/content/DialogInterface$OnDismissListener;)V", "GetSetOnDismissListener_Landroid_content_DialogInterface_OnDismissListener_Handler")>]
abstract member SetOnDismissListener : Android.Content.IDialogInterfaceOnDismissListener -> unit
override this.SetOnDismissListener : Android.Content.IDialogInterfaceOnDismissListener -> unit

Parameters

listener
IDialogInterfaceOnDismissListener

The DialogInterface.OnDismissListener to use.

Attributes

Remarks

Java documentation for android.app.Dialog.setOnDismissListener(android.content.OnDismissListener).

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