You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2018/11/05 06:38:40 UTC
[GitHub] acton393 commented on a change in pull request #1647:
[WEEX-648][Android]native batch for dom operations generating from JavaScript
acton393 commented on a change in pull request #1647: [WEEX-648][Android]native batch for dom operations generating from JavaScript
URL: https://github.com/apache/incubator-weex/pull/1647#discussion_r230644942
##########
File path: android/sdk/src/main/java/com/taobao/weex/ui/module/WXDomModule.java
##########
@@ -118,6 +123,16 @@ public Object callDomMethod(String method, JSONArray args, long... parseNanos) {
}
new UpdateComponentDataAction(mWXSDKInstance, args.getString(0), JSONUtils.toJSON(args.get(1)), args.getString(2)).executeAction();
break;
+ case BATCH_BEGIN: {
+ String ref = args.size() >= 1 ? args.getString(0) : null;
Review comment:
@Darin726 thanks, I have checked value for args, just return if null
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services