Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust index path for cell reuseid in carouselview #15140

Merged
merged 3 commits into from
May 18, 2023

Conversation

Redth
Copy link
Member

@Redth Redth commented May 17, 2023

Since CarouselView uses a fake number of items for looping effect like android does, we also need to correct the index used in the base items controller to be the actual item index, not the looped one.

This fixes the change missed in #12011

Since CarouselView uses a fake number of items for looping effect like android does, we also need to correct the index used in the base items controller to be the actual item index, not the looped one.
@Redth Redth requested a review from PureWeen May 17, 2023 17:21
@Redth Redth marked this pull request as ready for review May 17, 2023 20:58
This was also masking the public api txt warnings, but have added the unshipped api's as well.
@PureWeen PureWeen merged commit edbc7c5 into main May 18, 2023
@PureWeen PureWeen deleted the dev/redth/fix-cv-indexpath-carouselview branch May 18, 2023 13:36
expensivecow pushed a commit to expensivecow/maui that referenced this pull request May 22, 2023
* Adjust index path for cell reuseid in carouselview

Since CarouselView uses a fake number of items for looping effect like android does, we also need to correct the index used in the base items controller to be the actual item index, not the looped one.

* Fix return

* Remove ifdef for net8, we are net8

This was also masking the public api txt warnings, but have added the unshipped api's as well.
expensivecow pushed a commit to expensivecow/maui that referenced this pull request May 22, 2023
expensivecow pushed a commit to expensivecow/maui that referenced this pull request May 22, 2023
* Adjust index path for cell reuseid in carouselview

Since CarouselView uses a fake number of items for looping effect like android does, we also need to correct the index used in the base items controller to be the actual item index, not the looped one.

* Fix return

* Remove ifdef for net8, we are net8

This was also masking the public api txt warnings, but have added the unshipped api's as well.
rmarinho pushed a commit that referenced this pull request May 30, 2023
* Adjust index path for cell reuseid in carouselview

Since CarouselView uses a fake number of items for looping effect like android does, we also need to correct the index used in the base items controller to be the actual item index, not the looped one.

* Fix return

* Remove ifdef for net8, we are net8

This was also masking the public api txt warnings, but have added the unshipped api's as well.
@samhouts samhouts added area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/iOS 🍎 labels Jul 11, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 10, 2023
@samhouts samhouts added the fixed-in-8.0.0-preview.5.8529 Look for this fix in 8.0.0-preview.5.8529! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView fixed-in-8.0.0-preview.5.8529 Look for this fix in 8.0.0-preview.5.8529! platform/iOS 🍎
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants