@Override public void Oncreate() throws LuaException { // TODO Auto-generated method stub root = LuaService.getInstance().getWidget(LuaHelper.loadScript(luastate, pagename)); }
public void pushGlobalObject(String name, Object obj) { LuaHelper.setGlobalObject(getLuaState(), name, obj); }
public void removeGlobalObject(String name) { LuaHelper.removeGlobalObject(getLuaState(), name); }
public AbstractWidget getWidget(LuaObject obj) throws LuaException { LuaData data = LuaHelper.toLuaDataByLuaScript(getLuaState(), obj); return WidgetFactory.createWidgetTree(data); }