为什么 绑定监听事件时候,生成的方法参数中是arg0,he arg1呢,而不是老师课程中生成的那样,一直有这个疑问,多谢老师解答下
cb.setOnCheckedChangeListener(new OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton arg0, boolean arg1) {
// TODO Auto-generated method stub
}
};
cb.setOnCheckedChangeListener(new OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton arg0, boolean arg1) {
// TODO Auto-generated method stub
}
};
2015-11-10
举报