Hi guys,
from the official Android 6 changelog
For example here:
android.googlesource.com/platform/frameworks/volley/+/master/src/main/java/com/android/volley/toolbox/HttpClientStack.java
So do I understand right that using the library Volley is also deprecated(as for now), because it is using org.apache.http.client classes?
I think it's a contradiction, because Volley is also developed by Google. Would you use Volley in a newly developed app?
Best regrads,
hgbdev
from the official Android 6 changelog
Quote:
| Android 6.0 release removes support for the Apache HTTP client. If your app is using this client and targets Android 2.3 (API level 9) or higher, use the HttpURLConnection class instead. This API is more efficient because it reduces network use through transparent compression and response caching, and minimizes power consumption. To continue using the Apache HTTP APIs, you must first declare the following compile-time dependency in your build.gradle file: ... |
android.googlesource.com/platform/frameworks/volley/+/master/src/main/java/com/android/volley/toolbox/HttpClientStack.java
So do I understand right that using the library Volley is also deprecated(as for now), because it is using org.apache.http.client classes?
I think it's a contradiction, because Volley is also developed by Google. Would you use Volley in a newly developed app?
Best regrads,
hgbdev
from xda-developers http://ift.tt/1NlnKFd
via IFTTT

Aucun commentaire:
Enregistrer un commentaire