public static interface CompoundButton.OnCheckedChangeListener
| android.widget.CompoundButton.OnCheckedChangeListener |
在复合按钮的选中状态改变时调用回调的接口定义。
公共方法(Public methods) |
|
|---|---|
abstract void |
onCheckedChanged(CompoundButton buttonView, boolean isChecked) 当组合按钮的选中状态发生变化时调用。 |
void onCheckedChanged (CompoundButton buttonView, boolean isChecked)
当组合按钮的选中状态发生变化时调用。
| 参数(Parameters) | |
|---|---|
buttonView |
CompoundButton: The compound button view whose state has changed. |
isChecked |
boolean: The new checked state of buttonView. |