Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hegaojian authored Oct 26, 2020
1 parent f9ed1bb commit 9305885
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,22 @@ dependencies {
- **1.3 在app's build.gradle中,android 模块下开启DataBinding(如果你不想用DataBinding,请忽略这一步)**

```
AndroidStudio 4.0 以下版本------>
android {
...
dataBinding {
enabled = true
}
}
AndroidStudio 4.0及以上版本 ------>
android {
...
buildFeatures {
dataBinding = true
}
}
```

## 2.继承基类
Expand Down

0 comments on commit 9305885

Please sign in to comment.