Browse Source

| 降级demo中的databinding

drake 4 years ago
parent
commit
e3cd2f0a62
1 changed files with 4 additions and 1 deletions
  1. 4 1
      sample/build.gradle

+ 4 - 1
sample/build.gradle

@@ -25,7 +25,10 @@ android {
         }
     }
 
-    buildFeatures.dataBinding = true
+    dataBinding {
+        enabled = true
+    }
+
     compileOptions {
         sourceCompatibility JavaVersion.VERSION_1_8
         targetCompatibility JavaVersion.VERSION_1_8