为了账号安全,请及时绑定邮箱和手机立即绑定

CheckBox视频课中的问题

http://img1.sycdn.imooc.com//564060720001f65906770458.jpg这是我的代码,有两个错误啊

第一个那个上面告诉我说是

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

我也倒了包了,我是看着老师的代码写的,这个怎么改,求大神!!

正在回答

0 回答

举报

0/150
提交
取消
Android攻城狮的第一门课(入门篇)
  • 参与学习       312471    人
  • 解答问题       4931    个

想快速掌握Android应用开发基础,选择学习这门课程就对了。

进入课程

CheckBox视频课中的问题

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号