local ui = {} local _V = function(...) return SL:GetMetaValue(...) end local FUNCQUEUE = {} local TAGOBJ = {} function ui.init(parent, __data__, __update__) if __update__ then return ui.update(__data__) end -- Create c_bg_img local c_bg_img = GUI:Image_Create(parent, "c_bg_img", 0, 0, "res/custom/02/13.png") GUI:setAnchorPoint(c_bg_img, 0.50, 0.50) GUI:setTouchEnabled(c_bg_img, false) GUI:setTag(c_bg_img, -1) -- Create ListView local ListView = GUI:ListView_Create(parent, "ListView", -262, -199, 528, 363, 1) GUI:ListView_setItemsMargin(ListView, 4) GUI:setAnchorPoint(ListView, 0.00, 0.00) GUI:setTouchEnabled(ListView, true) GUI:setTag(ListView, 0) ui.update(__data__) return c_bg_img end function ui.update(data) for _, func in pairs(FUNCQUEUE) do if func then func(data) end end end return ui