IDialogInterfaceOnMultiChoiceClickListener.OnClick(IDialogInterface, Int32, Boolean) IDialogInterfaceOnMultiChoiceClickListener.OnClick(IDialogInterface, Int32, Boolean) 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);
abstract member OnClick : Android.Content.IDialogInterface * int * bool -> unit

Parameters

dialog
IDialogInterface IDialogInterface

The dialog where the selection was made.

which
Int32 Int32

The position of the item in the list that was clicked.

isChecked
Boolean Boolean

True if the click checked the item, else false.

Remarks

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