![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
框架
javalive09
这个作者很懒,什么都没留下…
展开
-
volley总结
1.请求 cache dispatcher ----> network dispatcher 1)如果 http请求的头信息中 的cache-control max-age字段 未过期则使用 cache 2)如果 max-age 过期 则network请求 返回304 则使用缓存 把缓存重新写入 2. 缓存 二级缓存 1)DiskCache原创 2015-11-09 12:11:31 · 665 阅读 · 0 评论 -
retrofit 总结
创建: new Retrofit.Builder() .addConverterFactory(GsonConverterFactory.create()) .addCallAdapterFactory(RxJavaCallAdapterFactory.create()) .build(); 流程:原创 2016-11-01 15:26:53 · 534 阅读 · 0 评论