Skip to content

Commit

Permalink
1.准备添加 1.0.0 tag
Browse files Browse the repository at this point in the history
  • Loading branch information
scwang90 committed Aug 13, 2019
1 parent 86fb9a4 commit d14ebca
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,20 @@ Please rest assured that I have divided it into three packages, when used to ref

## Usage
#### 1.Add a gradle dependency.
```
implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0'
implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0'//If you use the special Header
implementation 'com.android.support:appcompat-v7:25.3.1'

//androidx version
implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-1'
implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0-1'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
[【V2.0.0】](https://github.com/scwang90/SmartRefreshLayout/tree/master#%E7%AE%80%E5%8D%95%E7%94%A8%E4%BE%8B)
main change is to subcontract SmartRefreshLayout to reduce unnecessary dependencies and avoid code redundancy.
welcome to experience.

```
compile 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0'
compile 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0' //If you use the special Header
```
If you use AndroidX, add it to gradle.properties

```
android.useAndroidX=true
android.enableJetifier=true
```

#### 2.Add SmartRefreshLayout in the layout xml.
Expand Down

0 comments on commit d14ebca

Please sign in to comment.