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

? Examples
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.
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.