Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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.