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