2 writes to _carouselViewLoopManager
Microsoft.Maui.Controls (2)
Handlers\Items\iOS\CarouselViewController.cs (2)
87
_carouselViewLoopManager
= new CarouselViewLoopManager(Layout as UICollectionViewFlowLayout);
233
_carouselViewLoopManager
= null;
14 references to _carouselViewLoopManager
Microsoft.Maui.Controls (14)
Handlers\Items\iOS\CarouselViewController.cs (14)
50
if (ItemsView?.Loop == true &&
_carouselViewLoopManager
!= null)
52
var cellAndCorrectedIndex =
_carouselViewLoopManager
.GetCellAndCorrectIndex(collectionView, indexPath, DetermineCellReuseId(indexPath));
85
if (
_carouselViewLoopManager
is null)
88
_carouselViewLoopManager
.SetItemsSource(LoopItemsSource);
113
if (ItemsView?.Loop == true &&
_carouselViewLoopManager
!= null)
116
_carouselViewLoopManager
.CenterIfNeeded(CollectionView, IsHorizontal);
158
_carouselViewLoopManager
?.SetItemsSource(LoopItemsSource);
197
_carouselViewLoopManager
?.SetItemsSource(itemsSource);
232
_carouselViewLoopManager
?.Dispose();
258
if (ItemsView?.Loop == true &&
_carouselViewLoopManager
!= null)
260
return
_carouselViewLoopManager
.GetGoToIndex(CollectionView, position);
268
if (ItemsView?.Loop == true &&
_carouselViewLoopManager
!= null)
270
return
_carouselViewLoopManager
.GetCorrectedIndexFromIndexPath(indexPath);
433
carouselPosition =
_carouselViewLoopManager
?.GetCorrectPositionForCenterItem(CollectionView) ?? -1;