-1

Here is the image that show the objects that are depreciated...? What does this mean?

enter image description here

SNLippold
  • 27
  • 6

2 Answers2

0

It usually means that there's either a better way of doing things or that the deprecated functionality had some irreparable flaw and should be avoided. You can usually keep using deprecated methods, but you are advised to either switch to some new API (in the first case) or find some other way of doing what you want

In your case use this solution

Community
  • 1
  • 1
Coder29
  • 121
  • 4
  • It can also mean that the method or API (not "Object") will not be supported in a future release. So the app could cease to work. There is almost certainly a suggested alternate in the error message, – BryanT Feb 18 '16 at 13:45
  • @BryanT yeah you are right.... Google were really determined to discourage use of those libraries, they could modify the implementation so that the affected classes check the target API version of the running application and complain and/or throw a runtime exception......now i get a down vote...disappointed :-/ – Coder29 Feb 19 '16 at 05:50
0

Deprecated means that you should not use it anymore but a new implementation of it, because it will be removed from framework / language whatever in future releases. In most cases there is a description at this method or documentation what you have to use instead.

Bevor
  • 7,568
  • 11
  • 67
  • 130