基于retrofit二、rxjava二、OkHttp的网络请求封装,实现背压、网络请求生命周期管理,以及错误码集中处理

1.定义接口地址 /** * Created by PrinceOfAndroid on 2018/4/9 0009. * 接口地址存放类 */ public class ApiUrl { //基本地址(要以“/”结尾) public static final String BASE_URL = ""; //请求地址 public static final S
相关文章
相关标签/搜索