OkHttp
AH..
这个作者很懒,什么都没留下…
展开
-
封装Okhttp的get和post的方法
导入Okhttp的依赖 implementation 'com.squareup.okhttp3:okhttp:3.11.0' implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'public class OkHttpUtils { private static volatile OkHttpU...原创 2018-12-13 15:12:06 · 261 阅读 · 0 评论 -
xRecyclerView的多条目+属性动画
依赖implementation 'com.jcodecraeer:xrecyclerview:1.5.9'布局<com.jcodecraeer.xrecyclerview.XRecyclerView android:id="@+id/x_recyclerview" android:layout_width="match_parent" android:lay...原创 2018-12-13 15:27:30 · 218 阅读 · 0 评论 -
Retrofit+MVP网络请求框架
导依赖 // 网络请求Retrofit &amp; OkHttp &amp; Rxjava implementation "com.squareup.okhttp3:logging-interceptor:$rootProject.interceptor" implementation "com.squareup.retrofit2:retrofit:$rootProject.r...原创 2019-01-01 23:44:02 · 294 阅读 · 0 评论