return LuaUtil.callFunction(mOnLayout);
}
public UDViewGroup addView(UDView subView) {
final ViewGroup viewGroup = getContainer();
if (viewGroup != null && subView != null && subView.getView() != null) {
<BUG>final View view = subView.getView();
if (viewGroup instanceof ILVViewGroup) {
((ILVViewGroup) viewGroup).addLVView(view, null);
} else {
final ViewGroup.LayoutParams layoutParams = LuaViewUtil.getOrCreateLayoutParams(view);
viewGroup.addView(view, layoutParams);
}</BUG>
}

return LuaUtil.callFunction(mOnLayout);
}
public UDViewGroup addView(UDView subView) {
final ViewGroup viewGroup = getContainer();
if (viewGroup != null && subView != null && subView.getView() != null) {
final View view = subView.getView();
LuaViewUtil.addView(viewGroup, view, null);
}
