Home > Mobile >  The View. An OnClickListener () is disabled, what can I do
The View. An OnClickListener () is disabled, what can I do

Time:10-01

Dear bosses, don't go, novice to solve!!!!!!
Difficulties with Android Studio
Rowed a horizontal line on the View. An OnClickListener (), how to let it not be disabled

CodePudding user response:

Row horizontal line not on behalf of the disabled, it is a new method, is not recommended
The grammar of the old still can use and effective

CodePudding user response:

That is out of date, not disabled,
After expiration of meaning, not maintenance, may also be deleted, so try to use alternative,

Solution: baidu under alternative or put the mouse on an outdated methods above, pop-up label after click more, see the documentation comments have said alternative,
Or your SDK version down to not outdated version

CodePudding user response:

An OnClickListener method for the system version you are using has expired, you some went in to see an OnClickListener, it will tell you it is recommended to use to replace the interface

CodePudding user response:

You look carefully, that is the button, the button can an OnClickListener obsolete?
This post you have asked 2 times:

If inadvertently modify the source code, this post has changed back to go: https://bbs.csdn.net/topics/392699279
If not delete the build relevant folder in open again
  • Related