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

为什么我的changepassword的布局确认按钮的点击事件报错


Corresponding method handler 'public void onChangePasswordClick(android.view.View)' not found less... (Ctrl+F1) 

Inspection info:The onClick attribute value should be the name of a method in this View's context to invoke when the view is clicked. This name must correspond to a public method that takes exactly one parameter of type View.  Must be a string value, using '\;' to escape characters such as '\n' or '\uxxxx' for a unicode character.  Issue id: OnClick.


找不到相应的方法处理程序“public void onchangePasswordClick(android.view.view)”…(Ctrl+F1)

检查信息:onclick属性值应该是此视图上下文中要在单击视图时调用的方法的名称。此名称必须与只接受一个类型为View的参数的公共方法相对应。必须是字符串值,使用'\;'来转义Unicode字符的字符,如'\n'或'\uxxxx'。问题ID:onclick


正在回答

3 回答

在activity中声明onChangePasswordClick,并且是public方法

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

我也有这个问题,是怎么回事呢


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

已经做完啦!谢谢哦

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

举报

0/150
提交
取消

为什么我的changepassword的布局确认按钮的点击事件报错

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信