using System.Collections.Generic; using ET; using FairyGUI; using UI.DailyWelfare; using UnityEngine; namespace GFGGame { public class AFZLView : BaseWindow { private UI_SevenDayLoginUI _ui; private List _cfgs; public override void Dispose() { if (_ui != null) { _ui.Dispose(); _ui = null; } base.Dispose(); } protected override void OnInit() { base.OnInit(); _cfgs = ActivityLoginCfgArray.Instance.GetCfgsByid(3001); _ui.m_list.itemRenderer = ListItemRender; _ui.m_comIcon.m_loaIcon.onClick.Add(OnListItemClick); } protected override void OnShown() { base.OnShown(); UpdateView(); } private void UpdateView() { } protected override void OnHide() { base.OnHide(); } private void ListItemRender(int index, GObject obj) { } private async void OnListItemClick(EventContext context) { } } }