File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Android/LuaViewSDK/src/com/taobao/luaview/global Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -412,6 +412,12 @@ public String getUri() {
412
412
return mLuaViewCore != null ? mLuaViewCore .getUri () : null ;
413
413
}
414
414
415
+ public void setUri (String uri ) {
416
+ if (mLuaViewCore != null ) {
417
+ mLuaViewCore .setUri (uri );
418
+ }
419
+ }
420
+
415
421
public Globals getGlobals () {
416
422
return mLuaViewCore != null ? mLuaViewCore .getGlobals () : null ;
417
423
}
Original file line number Diff line number Diff line change @@ -510,6 +510,12 @@ public String getUri() {
510
510
return null ;
511
511
}
512
512
513
+ public void setUri (String uri ) {
514
+ if (mGlobals != null && mGlobals .getLuaResourceFinder () != null ) {
515
+ mGlobals .getLuaResourceFinder ().setUri (uri );
516
+ }
517
+ }
518
+
513
519
public Globals getGlobals () {
514
520
return mGlobals ;
515
521
}
You can’t perform that action at this time.
0 commit comments