![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
retrofit
常军永
这个作者很懒,什么都没留下…
展开
-
MVP+Retrofit+Rxjava+DataBinding泛型架构模型
一. 用到的知识点: UI—面向对象 数据交互 —MVP模式 网络图片加载—–glide json解析—–gson http请求—retrofit2+rxjava2 事件总线—-eventbus 注解—DataBinding 二.目录结构 biz ————...原创 2018-03-28 10:38:49 · 2046 阅读 · 0 评论 -
Retrofit网络请求
Retrofit 一、 特点 性能最好,处理最快 使用REST API时非常方便; 传输层默认就使用OkHttp; 支持NIO; 拥有出色的API文档和社区支持 速度上比volley更快; 如果你的应用程序中集成了OKHttp,Retrofit默认会使用OKHttp处理其他网络层请求。 默认使用Gson 二、使用 Retrofit支持同步和异步两种方式,在使用时,需要将请...原创 2018-03-05 11:19:28 · 379 阅读 · 0 评论 -
Rrtrofit封装框架
1.添加方法: allprojects{ repositroies{ .... maven { url 'https://jitpack.io' } } } dependencies { /*网络请求框架*/ implementation 'com.github.AgnoiY:RetrofitFrame:1.1.9...原创 2019-07-06 09:34:22 · 234 阅读 · 0 评论