1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
-
- 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<ActivityLoginCfg> _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)
- {
- }
- }
- }
|