CheckBox视频课中的问题
这是我的代码,有两个错误啊
第一个那个上面告诉我说是
Multiple markers at this line
- The method setOnCheckedChangeListener(CompoundButton.OnCheckedChangeListener) in the
type CompoundButton is not applicable for the arguments (new RadioGroup.OnCheckedChangeListener(){})
- The type new RadioGroup.OnCheckedChangeListener(){} must implement the inherited abstract
method RadioGroup.OnCheckedChangeListener.onCheckedChanged(RadioGroup, int)
第二个是
The method onCheckedChanged(CompoundButton, boolean) of type new RadioGroup.OnCheckedChangeListener()
{} must override or implement a supertype method
我也倒了包了,我是看着老师的代码写的,这个怎么改,求大神!!