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

写 rg.setOnCheckedChangeListener(this);时为什么会报这个错呢?

The method setOnCheckedChangeListener(CompoundButton.OnCheckedChangeListener) in the type CompoundButton is not applicable for the arguments (MainActivity)

正在回答

2 回答

public class MainActivity5 extends AppCompatActivity implements CompoundButton.OnCheckedChangeListener


0 回复 有任何疑惑可以回复我~

没有添加插件吧

0 回复 有任何疑惑可以回复我~

举报

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

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

进入课程

写 rg.setOnCheckedChangeListener(this);时为什么会报这个错呢?

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

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

帮助反馈 APP下载

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

公众号

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