Android Guides | Samples

Android.App.Dialog.SetOnShowListener Method

Sets a listener to be invoked when the dialog is shown.

Syntax

[Android.Runtime.Register("setOnShowListener", "(Landroid/content/DialogInterface$OnShowListener;)V", "GetSetOnShowListener_Landroid_content_DialogInterface_OnShowListener_Handler")]
public virtual Void SetOnShowListener (IDialogInterfaceOnShowListener listener)

Parameters

listener
The IDialogInterfaceOnShowListener to use.

Remarks

Sets a listener to be invoked when the dialog is shown.

[Android Documentation]

Requirements

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