feat:fix when reloading call onCreate and onShow

This commit is contained in:
pengfei.zhou
2020-02-29 15:00:46 +08:00
committed by osborn
parent eb6ba3ee36
commit d713b04d51
4 changed files with 7 additions and 2 deletions

View File

@@ -186,6 +186,7 @@ public class DoricContext {
this.script = script;
this.mRootNode.setId("");
getDriver().createContext(mContextId, script, source);
callEntity(DoricConstant.DORIC_ENTITY_CREATE);
callEntity(DoricConstant.DORIC_ENTITY_INIT, this.initParams, extra);
onShow();
}