Android的网络库:使用凌空是否还值得? [英] Android networking library: Is it still worth using Volley?

查看:233
本文介绍了Android的网络库:使用凌空是否还值得?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这问题其实不是编码,所以我不把任何codeS在这里。

This question is actually not about the coding, so I don't put any codes here.

虽然寻找到了排球图书馆,我发现这些API的某些部分包含了目前在Android的API级别22 pcated德$ P $类(如org.apache.http包中的类)

While looking into the Volley library, I found out that some part of the APIs contain classes (e.g. classes of the org.apache.http packages) that are now deprecated in Android API level 22.

由于我担心得到调整,以最新的API环境,你认为它仍然是值得一用的排球,或者你会建议使用其他库如OkHttp或改造?

As I'm concerned about getting adjusted to the newest API environment, do you think it is still worth using Volley or would you recommend using other libraries such as OkHttp or Retrofit?

推荐答案

检查出详细的答复:
<一href=\"http://stackoverflow.com/questions/16902716/comparison-of-android-networking-libraries-okhttp-retrofit-volley\">Comparison Android的网络图书馆:OkHTTP,改造,排球

就个人而言,我去了当地让事情变得简单和强大。使用它的JSON响应和偶尔的图像没有问题,我不认为他们会去precate HttpURLConnection的很快。

Personally, I went native to keep things simple and robust. Using it for JSON responses and occasional images with no problem and I don't think they will deprecate HttpURLConnection anytime soon.

这篇关于Android的网络库:使用凌空是否还值得?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆