Eclipse出现删除线的解决

在用Eclipse写代码时,在用某个类的某个方法时这个方法被划上了删除线,  会出现deprecated错误,   

原因是因为,使用了过时的方法或名称

比如:

这里FloatMath是Android 6.0之前的写法,因为过时,这里替换为Math,Clean后无误。



posted @ 2017-09-26 14:03  JokerJason  阅读(1392)  评论(0)    收藏  举报

It's not who you are underneath, it's what you do that defines you

Brick walls are there for a reason :they let us prove how badly we want things