Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
[Weex][android] feat: add bindingx weex plugin (#1975)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rowandjj authored and YorkShen committed Jan 7, 2019
1 parent 511f024 commit f8b464c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions android/playground/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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()){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
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;
Expand All @@ -30,7 +31,6 @@
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;
Expand Down Expand Up @@ -104,6 +104,7 @@ public void onCreate() {

WXSDKEngine.registerModule("wsonTest", WXWsonTestModule.class);

BindingX.register();

/**
* override default image tag
Expand Down

0 comments on commit f8b464c

Please sign in to comment.