文字
分享


CompoundButton.OnCheckedChangeListener

翻译署名:德罗德

译者博客:sparkrico.javaeye.com

版本:Android 2.2 r1

 

public static interface CompoundButton.OnCheckedChangeListener

 

android.widget.CompoundButton.OnCheckedChangeListener

 

概述

         接口定义了一个在按钮的选中状态改变时要调用的回调函数。

 

公共方法       

         public abstract void onCheckedChanged(CompoundButton buttonView, boolean isChecked)

         在按钮选中状态发生改变时被调用

                   参数

                            buttonView    选中状态发生改变的那个按钮

                            isChecked        按钮新的状态


上一篇:CompoundButton下一篇:CursorAdapter