public static interface DialogInterface.OnMultiChoiceClickListener
| android.content.DialogInterface.OnMultiChoiceClickListener |
用于在单击多选对话框中的项目时允许对话创建者运行某些代码的界面。
Public methods |
|
|---|---|
abstract void |
onClick(DialogInterface dialog, int which, boolean isChecked) 当单击对话框中的项目时,将调用此方法。 |
void onClick (DialogInterface dialog, int which, boolean isChecked)
当单击对话框中的项目时,将调用此方法。
| Parameters | |
|---|---|
dialog |
DialogInterface: The dialog where the selection was made. |
which |
int: The position of the item in the list that was clicked. |
isChecked |
boolean: True if the click checked the item, else false. |