Condividi tramite


Dialog.SetOnShowListener(IDialogInterfaceOnShowListener) Method

Definition

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

[Android.Runtime.Register("setOnShowListener", "(Landroid/content/DialogInterface$OnShowListener;)V", "GetSetOnShowListener_Landroid_content_DialogInterface_OnShowListener_Handler")]
public virtual void SetOnShowListener (Android.Content.IDialogInterfaceOnShowListener? listener);
[<Android.Runtime.Register("setOnShowListener", "(Landroid/content/DialogInterface$OnShowListener;)V", "GetSetOnShowListener_Landroid_content_DialogInterface_OnShowListener_Handler")>]
abstract member SetOnShowListener : Android.Content.IDialogInterfaceOnShowListener -> unit
override this.SetOnShowListener : Android.Content.IDialogInterfaceOnShowListener -> unit

Parameters

listener
IDialogInterfaceOnShowListener

The DialogInterface.OnShowListener to use.

Attributes

Remarks

Java documentation for android.app.Dialog.setOnShowListener(android.content.OnShowListener).

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