Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Leiii-Li authored Dec 29, 2018
1 parent 550b729 commit 31919d4
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 基于Retrofit网络框架的封装

## 实现功能
* get请求封装
* 请求头和参数统一配置,分开配置
* 异步统一回调接口
* 单个请求、单个界面请求、所有请求取消
* 缓存策略:在线缓存、离线缓存
* 下载
* 上传


### 引用
```
compile 'com.excellence.retrofit:retrofit2:_latestVersion'
```

### 权限
```
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
```

0 comments on commit 31919d4

Please sign in to comment.