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 2019/05/29 11:49:00 UTC

[GitHub] [incubator-weex] YorkShen commented on a change in pull request #2491: [Android] support preinit && predonload mode

YorkShen commented on a change in pull request #2491: [Android] support preinit && predonload mode
URL: https://github.com/apache/incubator-weex/pull/2491#discussion_r288522091
 
 

 ##########
 File path: android/sdk/src/main/java/com/taobao/weex/WXSDKInstance.java
 ##########
 @@ -687,6 +700,55 @@ private void renderInternal(String pageName,
     renderInternal(pageName, new Script(template), options, jsonInitData, flag);
   }
 
+  private boolean isPreInit = false;
+  public boolean isPreInitMode(){
+    return isPreInit;
+  }
+
+  private boolean isPreDownLoad =false;
+  public boolean isPreDownLoad(){
+    return isPreDownLoad;
+  }
+
+  public void onNavReady(){
 
 Review comment:
   Consider changing the name to `onPostCreateInstance`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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