[Android] CurrentItemChangedEventArgs.PreviousItem and PositionChangedEventArgs.PreviousPosition Not Updating Correctly When Using ScrollTo or Setting Position #29544
Labels
area-controls-collectionview
CollectionView, CarouselView, IndicatorView
partner/syncfusion
Issues / PR's with Syncfusion collaboration
platform/android
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
When programmatically scrolling the CarouselView using the ScrollTo method or setting the Position property, the CurrentItemChangedEventArgs.PreviousItem and PositionChangedEventArgs.PreviousPosition values are not updated correctly.
Screen.Recording.2025-05-16.at.1.51.35.PM.mov
Steps to Reproduce
Expected Behavior:
When using ScrollTo or setting the Position property, the CurrentItemChangedEventArgs.PreviousItem and PositionChangedEventArgs.PreviousPosition values should correctly reflect the previous item and position before the scroll or position change.
Link to public reproduction project repository
No response
Version with bug
9.0.70 SR7
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: