コード例 #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));
        }
コード例 #2
0
 protected virtual NSIndexPath[] CreateIndexesFrom(int startIndex, int count)
 {
     return(IndexPathHelpers.GenerateIndexPathRange(_section, startIndex, count));
 }