to top
Android APIs
Added in API level 1
public static interface

DialogInterface.OnMultiChoiceClickListener

android.content.DialogInterface.OnMultiChoiceClickListener

Class Overview

Interface used to allow the creator of a dialog to run some code when an item in a multi-choice dialog is clicked.

Summary

Public Methods
abstract void onClick(DialogInterface dialog, int which, boolean isChecked)
This method will be invoked when an item in the dialog is clicked.

Public Methods

public abstract void onClick (DialogInterface dialog, int which, boolean isChecked)

Added in API level 1

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

Parameters
dialog The dialog where the selection was made.
which The position of the item in the list that was clicked.
isChecked True if the click checked the item, else false.