Eclipse出现删除线的解决
在用Eclipse写代码时,在用某个类的某个方法时这个方法被划上了删除线, 会出现deprecated错误,
原因是因为,使用了过时的方法或名称;
比如:


这里FloatMath是Android 6.0之前的写法,因为过时,这里替换为Math,Clean后无误。
在用Eclipse写代码时,在用某个类的某个方法时这个方法被划上了删除线, 会出现deprecated错误,
原因是因为,使用了过时的方法或名称;
比如:


这里FloatMath是Android 6.0之前的写法,因为过时,这里替换为Math,Clean后无误。
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