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