Explorar el Código

| 降级demo中的databinding

drake hace 4 años
padre
commit
e3cd2f0a62
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  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