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

[Android] Add test for scroll without group #24288

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

Foda
Copy link
Member

@Foda Foda commented Aug 16, 2024

Description of Change

When looking up the item index, using the interface IGroupableItemsViewSource to determine if the list is grouped or not will not work as ungrouped lists also implement that interface. This PR adjusts the logic to check if the list is ungrouped via UngroupedItemsSource, then returns the index.

Issues Fixed

Fixes #24272

@Foda Foda added platform/android 🤖 i/regression This issue described a confirmed regression on a currently supported version labels Aug 16, 2024
@Foda Foda requested a review from PureWeen August 16, 2024 20:46
@Foda Foda requested a review from a team as a code owner August 16, 2024 20:46
@Foda Foda requested a review from jsuarezruiz August 16, 2024 20:46
@jfversluis
Copy link
Member

Looks like the test fails on iOS

Copy link
Member

@PureWeen PureWeen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the test fails on iOS

@PureWeen PureWeen enabled auto-merge (squash) August 19, 2024 23:16
@PureWeen PureWeen merged commit dc6cbf9 into main Aug 20, 2024
97 checks passed
@PureWeen PureWeen deleted the foda/FixAndroidScrollToWithoutGroup branch August 20, 2024 21:05
Redth pushed a commit that referenced this pull request Aug 22, 2024
* Add test for scroll without group

* Update CollectionViewTests.cs

---------

Co-authored-by: Mike Corsaro <[email protected]>
@samhouts samhouts added fixed-in-net9.0-nightly This may be available in a nightly release! fixed-in-net8.0-nightly This may be available in a nightly release! labels Aug 27, 2024
@samhouts samhouts added fixed-in-9.0.0-rc.1.24453.9 and removed fixed-in-net9.0-nightly This may be available in a nightly release! fixed-in-net8.0-nightly This may be available in a nightly release! labels Sep 20, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Oct 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
fixed-in-9.0.0-rc.1.24453.9 i/regression This issue described a confirmed regression on a currently supported version platform/android 🤖
Projects
None yet
4 participants