2 writes to _carouselViewLoopManager
Microsoft.Maui.Controls.Compatibility (2)
iOS\CollectionView\CarouselViewController.cs (2)
68
_carouselViewLoopManager
= new CarouselViewLoopManager(Layout as UICollectionViewFlowLayout);
173
_carouselViewLoopManager
= null;
12 references to _carouselViewLoopManager
Microsoft.Maui.Controls.Compatibility (12)
iOS\CollectionView\CarouselViewController.cs (12)
39
if (Carousel?.Loop == true &&
_carouselViewLoopManager
!= null)
41
var cellAndCorrectedIndex =
_carouselViewLoopManager
.GetCellAndCorrectIndex(collectionView, indexPath, DetermineCellReuseId());
82
if (Carousel?.Loop == true &&
_carouselViewLoopManager
!= null)
85
_carouselViewLoopManager
.CenterIfNeeded(CollectionView, IsHorizontal);
123
_carouselViewLoopManager
?.SetItemsSource(LoopItemsSource);
156
_carouselViewLoopManager
?.SetItemsSource(itemsSource);
172
_carouselViewLoopManager
?.Dispose();
180
if (Carousel?.Loop == true &&
_carouselViewLoopManager
!= null)
181
return
_carouselViewLoopManager
.GetGoToIndex(CollectionView, position);
188
if (Carousel?.Loop == true &&
_carouselViewLoopManager
!= null)
189
return
_carouselViewLoopManager
.GetCorrectedIndexFromIndexPath(indexPath);
322
carouselPosition =
_carouselViewLoopManager
?.GetCorrectPositionForCenterItem(CollectionView) ?? -1;