Skip to content

Commit

Permalink
Update databinding and viewbinding docs to use new buildFeatures closure
Browse files Browse the repository at this point in the history
  • Loading branch information
5hyn3 authored Oct 30, 2020
1 parent d959e40 commit c88af92
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 226,8 @@ Add to your app module's `build.gradle`:

```gradle
android {
viewBinding {
enabled = true
buildFeatures {
viewBinding true
}
}
Expand Down Expand Up @@ -264,8 264,8 @@ Add to your app module's build.gradle:

```gradle
android {
dataBinding {
enabled = true
buildFeatures {
dataBinding true
}
}
Expand Down

0 comments on commit c88af92

Please sign in to comment.