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

[Weex][android] feat: add bindingx weex plugin #1975

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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