简体   繁体   中英

Why the onClick() attribute in XML has a strike through on it? what does that mean?

When I want to add a onClick attribute to my button, in Android Studio, there is a line called strikethrough(The same we can see in Word/office) on it, What does it mean? enter image description here

Probably this method is deprecated.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM