public VirtualList(List cfg, ListBase listbase) : base(cfg, listbase) { var scroll = cfg.gameObject.GetComponent <ScrollRect>(); //添加滚动事件回调 scroll.onValueChanged.AddListener(delegate { OnScrollValueChange(); }); }
void Awake() { listbase = new ListBase(this); }
public NormalList(List cfg, ListBase listbase) : base(cfg, listbase) { }
public ListItemMgrStrategy(List cfg, ListBase listbase) { this.cfg = cfg; this.listbase = listbase; this.type = this.cfg.type; }