Share via


IDialogInterfaceOnMultiChoiceClickListener.OnClick Method

Definition

This method will be invoked when an item in the dialog is clicked.

[Android.Runtime.Register("onClick", "(Landroid/content/DialogInterface;IZ)V", "GetOnClick_Landroid_content_DialogInterface_IZHandler:Android.Content.IDialogInterfaceOnMultiChoiceClickListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnClick (Android.Content.IDialogInterface? dialog, int which, bool isChecked);
[<Android.Runtime.Register("onClick", "(Landroid/content/DialogInterface;IZ)V", "GetOnClick_Landroid_content_DialogInterface_IZHandler:Android.Content.IDialogInterfaceOnMultiChoiceClickListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnClick : Android.Content.IDialogInterface * int * bool -> unit

Parameters

dialog
IDialogInterface

the dialog where the selection was made

which
Int32

the position of the item in the list that was clicked

isChecked
Boolean

true if the click checked the item, else false

Attributes

Remarks

This method will be invoked when an item in the dialog is clicked.

Java documentation for android.content.DialogInterface.OnMultiChoiceClickListener.onClick(android.content.DialogInterface, int, boolean).

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