摘要:
GET首先 要有一个RequestQueue 队列,实例化它。 public RequestQueue(Cache cache, Network network, int threadPoolSize, ResponseDelivery delivery) { ... 阅读全文
摘要:
这次关于的是Request的请求方面。肯定有些整理的不够详细。最后是要规划处Volley的整理框架图出来。本人经常用的也就是两个请求GET POST 就从这两个请求开始讲起。在Request类的最上方可以看到。public abstract class Request implements Co... 阅读全文
摘要:
RequestVolley中的请求对象,而Network 就是请求Request的。Request构造 public Request(int method, String url, Response.ErrorListener listener) { mMethod = method; mUrl... 阅读全文
摘要:
RequestVolley中的请求对象,而Network 就是请求Request的。Request构造 public Request(int method, String url, Response.ErrorListener listener) { mMethod = method; mUrl... 阅读全文
摘要:
Volley 框架(个人理解,不需要看。只是为了总结。) Com.android.volley 框架部分 Com.android.volley.toolbox 实现部分先从框架看吧 RequestQueue 请求队列只说讲到的Method,不说多余的。单纯从架构上看Volley。 public... 阅读全文