為什么我的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.
找不到相應(yīng)的方法處理程序“public void onchangePasswordClick(android.view.view)”…(Ctrl+F1)
檢查信息:onclick屬性值應(yīng)該是此視圖上下文中要在單擊視圖時調(diào)用的方法的名稱。此名稱必須與只接受一個類型為View的參數(shù)的公共方法相對應(yīng)。必須是字符串值,使用'\;'來轉(zhuǎn)義Unicode字符的字符,如'\n'或'\uxxxx'。問題ID:onclick
2019-08-02
在activity中聲明onChangePasswordClick,并且是public方法
2019-11-29
我也有這個問題,是怎么回事呢
2019-08-02
已經(jīng)做完啦!謝謝哦