From bf9e7912f63506389cd5179835ff57ef2a60ab75 Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Tue, 10 Dec 2019 20:11:00 +0800 Subject: [PATCH] feat:add extra for reInit and reload --- doric/src/main/java/pub/doric/DoricContext.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doric/src/main/java/pub/doric/DoricContext.java b/doric/src/main/java/pub/doric/DoricContext.java index de7917da..8114e7b4 100644 --- a/doric/src/main/java/pub/doric/DoricContext.java +++ b/doric/src/main/java/pub/doric/DoricContext.java @@ -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(); }