1. 首页
  2. 移动开发
  3. Android
  4. rxjava+retrofit+okhttp 缓存demo

rxjava+retrofit+okhttp 缓存demo

上传者: 2018-12-17 20:39:52上传 RAR文件 22.82MB 热度 43次
rxjava+okhttp+retrofit 通过get方法对请求网络的数据进行缓存的处理。(特别注意就是断网没有缓存okhttp返回 504错误,rxjava 必须在subscribe 方法中 new Action1() 对异常进行处理,否则必蹦)
下载地址
用户评论