protected override void OnCollectionRepalce(object sender, NotifyCollectionChangedEventArgs args) { var index = args.NewStartingIndex; int count = 1; if (args.NewItems != null) { count = args.NewItems.Count; } m_LoopVerticalScrollRect.UpdateBegin(index); // Debug.LogFormat ("OnCollectionRepalce(index={0},count={1},datalen={2},items.count={3}) ", index, count,m_LoopVerticalScrollRect.dataLength,items.Count); }