示例#1
0
        protected override NSIndexPath[] CreateIndexesFrom(int startIndex, int count)
        {
            if (!Loop)
            {
                return(base.CreateIndexesFrom(startIndex, count));
            }

            return(IndexPathHelpers.GenerateLoopedIndexPathRange(Section,
                                                                 (int)CollectionView.NumberOfItemsInSection(Section), LoopBy, startIndex, count));
        }
 protected virtual NSIndexPath[] CreateIndexesFrom(int startIndex, int count)
 {
     return(IndexPathHelpers.GenerateIndexPathRange(_section, startIndex, count));
 }