基於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
相關文章
相關標籤/搜索