feat:add extra for reInit and reload

This commit is contained in:
pengfei.zhou 2019-12-10 20:11:00 +08:00
parent c7db3405f7
commit bf9e7912f6

View File

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