This is an automated email from the ASF dual-hosted git repository.

kyork pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex.git


The following commit(s) were added to refs/heads/master by this push:
     new f8b464c  [Weex][android] feat: add bindingx weex plugin (#1975)
f8b464c is described below

commit f8b464cd97fddcf832a1b87d668f9ede8b9d45f5
Author: 栗子 <2470642...@qq.com>
AuthorDate: Mon Jan 7 11:06:53 2019 +0800

    [Weex][android] feat: add bindingx weex plugin (#1975)
---
 android/playground/app/build.gradle                                   | 4 ++++
 .../playground/app/src/main/java/com/alibaba/weex/WXApplication.java  | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/android/playground/app/build.gradle 
b/android/playground/app/build.gradle
index b59c758..e5b7832 100755
--- a/android/playground/app/build.gradle
+++ b/android/playground/app/build.gradle
@@ -118,6 +118,10 @@ dependencies {
     compile 'com.android.support.test.espresso:espresso-idling-resource:2.2.2'
     compile 'com.taobao.android:weex_inspector:0.18.10'
     //compile project(":weex_inspector")
+
+    // Bind actions to effects. See https://alibaba.github.io/bindingx/
+    compile 'com.alibaba.android:bindingx-core:1.1.1.2@aar'
+    compile 'com.alibaba.android:bindingx_weex_plugin:1.1.1@aar'
 }
 
 if(file('../../license/LICENSE').exists()){
diff --git 
a/android/playground/app/src/main/java/com/alibaba/weex/WXApplication.java 
b/android/playground/app/src/main/java/com/alibaba/weex/WXApplication.java
index 99a883f..e451383 100644
--- a/android/playground/app/src/main/java/com/alibaba/weex/WXApplication.java
+++ b/android/playground/app/src/main/java/com/alibaba/weex/WXApplication.java
@@ -22,6 +22,7 @@ import android.app.Activity;
 import android.app.Application;
 import android.os.Bundle;
 
+import com.alibaba.android.bindingx.plugin.weex.BindingX;
 import com.alibaba.weex.commons.adapter.DefaultWebSocketAdapterFactory;
 import com.alibaba.weex.commons.adapter.ImageAdapter;
 import com.alibaba.weex.commons.adapter.JSExceptionAdapter;
@@ -30,7 +31,6 @@ import com.alibaba.weex.extend.adapter.ApmGenerator;
 import com.alibaba.weex.extend.adapter.DefaultAccessibilityRoleAdapter;
 import com.alibaba.weex.extend.adapter.InterceptWXHttpAdapter;
 import com.alibaba.weex.extend.adapter.WXAnalyzerDemoListener;
-import com.alibaba.weex.extend.component.RichText;
 import com.alibaba.weex.extend.component.WXComponentSyncTest;
 import com.alibaba.weex.extend.component.WXMask;
 import com.alibaba.weex.extend.component.WXParallax;
@@ -104,6 +104,7 @@ public class WXApplication extends Application {
 
       WXSDKEngine.registerModule("wsonTest", WXWsonTestModule.class);
 
+      BindingX.register();
 
       /**
        * override default image tag

Reply via email to