Why do I get error 'Corresponding method handler not found' on the XML onClick line, after naming the onClick in XML and calling it on Main Activity? Snippet from activity_main.xml
Solution 1:
Do this
funtest(view: View){
Log.e("Click","Yes")
}
This will work.
Share
Post a Comment
for "Android Studio Xml Error "corresponding Method Handler Not Found" On Onclick"
Post a Comment for "Android Studio Xml Error "corresponding Method Handler Not Found" On Onclick"