Most visited

Recently visited

Added in API level 1

CompoundButton.OnCheckedChangeListener

public static interface CompoundButton.OnCheckedChangeListener

android.widget.CompoundButton.OnCheckedChangeListener


在复合按钮的选中状态改变时调用回调的接口定义。

Summary

Public methods

abstract void onCheckedChanged(CompoundButton buttonView, boolean isChecked)

当组合按钮的选中状态发生变化时调用。

Public methods

onCheckedChanged

Added in API level 1
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.

Hooray!