private void OnClick(CustomPushScrollController.ScrollData _data)
 {
     if (this.onPush == null)
     {
         return;
     }
     this.onPush(_data?.info);
 }
        private LoopListViewItem2 OnUpdate(LoopListView2 _view, int _index)
        {
            if (_index < 0)
            {
                return((LoopListViewItem2)null);
            }
            LoopListViewItem2        loopListViewItem2 = _view.NewListViewItem(((Object)this.original).get_name());
            CustomPushScrollViewInfo component         = (CustomPushScrollViewInfo)((Component)loopListViewItem2).GetComponent <CustomPushScrollViewInfo>();

            for (int _index1 = 0; _index1 < this.countPerRow; ++_index1)
            {
                CustomPushScrollController.ScrollData data = this.scrollerDatas.SafeGet <CustomPushScrollController.ScrollData>(_index * this.countPerRow + _index1);
                component.SetData(_index1, data?.info, (Action)(() => this.OnClick(data)), new Action <string>(this.OnPointerEnter), new Action(this.OnPointerExit));
            }
            return(loopListViewItem2);
        }