Android networking library: Is it still worth using Volley? [closed]

梦想的初衷 提交于 2019-12-12 03:44:36

问题


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

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.

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?


回答1:


Check out the detailed response: Comparison of Android networking libraries: OkHTTP, Retrofit, and Volley

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.



来源:https://stackoverflow.com/questions/31952152/android-networking-library-is-it-still-worth-using-volley

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!