Home > Mobile >  Android small white, ask a public void onClick (view v) the cause of the error
Android small white, ask a public void onClick (view v) the cause of the error

Time:12-04

CodePudding user response:

Public void onClick ( view v) here view the first letter should be capitalized to android's built-in View class

CodePudding user response:

Again after you originally setOnClickListener new an OnClickListener () will automatically generate an onclick method, but the View is wrong, you but why your package is in, the, I think you also may be the guide once before, to put the bag deleted before new once again an OnClickListener, PS: I'm still in learning, the android wrong place to meet you,

CodePudding user response:

When you look at the import an onclicklistener corresponding package no

CodePudding user response:

The onClick (view v) view should be capitalized

CodePudding user response:

The onClick (View v) which is a step in the right direction

CodePudding user response:

A capital v ~ ~ ~ ~ ~ ~

CodePudding user response:

No guide package, can't find the View. An OnClickListener, below the View also write wrong

CodePudding user response:


You can write, I just simply built an activity, not your layout file and id

CodePudding user response:

Why my bosses a choose_from_album without my design for the below?
  • Related