if (LuaViewConfig.isLibsLazyLoad()) {
metatable = LuaViewManager.createMetatable(libClass);
}
ILVView view = createView(globals, metatable, args);
if (globals.container instanceof ViewGroup && view instanceof View && ((View) view).getParent() == null) {
<BUG>globals.container.addLVView((View) view, args);
}</BUG>
return view.getUserdata();
}
public abstract ILVView createView(Globals globals, LuaValue metaTable, Varargs varargs);

if (LuaViewConfig.isLibsLazyLoad()) {
metatable = LuaViewManager.createMetatable(libClass);
}
ILVView view = createView(globals, metatable, args);
if (globals.container instanceof ViewGroup && view instanceof View && ((View) view).getParent() == null) {
LuaViewUtil.addView(globals.container, (View) view, args);
}
return view.getUserdata();
}
public abstract ILVView createView(Globals globals, LuaValue metaTable, Varargs varargs);
