![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
OkHttp
文章平均质量分 65
zxx_fly
这个作者很懒,什么都没留下…
展开
-
Okhttp框架搭建及拦截器
本代码是由借鉴他人博客并加以改进所成 拦截器需要添加依赖: compile 'com.squareup.okhttp3:logging-interceptor:3.9.0' 代码 public class OkhttpUtils { //声明客户端 private OkHttpClient client; //防止多个线程同时访问所造成的安全隐转载 2017-10-15 18:44:31 · 365 阅读 · 0 评论 -
MVP架构,登录页面
主页面布局: LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:l原创 2017-10-25 09:51:57 · 567 阅读 · 1 评论