feat:add extra for reInit and reload
This commit is contained in:
parent
c7db3405f7
commit
bf9e7912f6
@ -105,7 +105,7 @@ public class DoricContext {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void reInit() {
|
public void reInit() {
|
||||||
callEntity(DoricConstant.DORIC_ENTITY_INIT, this.initParams);
|
callEntity(DoricConstant.DORIC_ENTITY_INIT, this.initParams, extra);
|
||||||
callEntity(DoricConstant.DORIC_ENTITY_CREATE);
|
callEntity(DoricConstant.DORIC_ENTITY_CREATE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -169,7 +169,7 @@ public class DoricContext {
|
|||||||
this.script = script;
|
this.script = script;
|
||||||
this.mRootNode.setId("");
|
this.mRootNode.setId("");
|
||||||
getDriver().createContext(mContextId, script, source);
|
getDriver().createContext(mContextId, script, source);
|
||||||
callEntity(DoricConstant.DORIC_ENTITY_INIT, this.initParams);
|
callEntity(DoricConstant.DORIC_ENTITY_INIT, this.initParams, extra);
|
||||||
onShow();
|
onShow();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user