Android Guides | Samples

Android.App.Dialog.SetOnDismissListener Method

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

Syntax

[Android.Runtime.Register("setOnDismissListener", "(Landroid/content/DialogInterface$OnDismissListener;)V", "GetSetOnDismissListener_Landroid_content_DialogInterface_OnDismissListener_Handler")]
public virtual Void SetOnDismissListener (IDialogInterfaceOnDismissListener listener)

Parameters

listener
The IDialogInterfaceOnDismissListener to use.

Remarks

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

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1