Browse Source

| 降级demo中的databinding

drake 4 năm trước cách đây
mục cha
commit
e3cd2f0a62
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  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