Skip to content

[Android] CarouselView.Loop = false causes crash on Android when changed at runtime #29411

Description

@NafeelaNazhir

Description

When using a button click event to set the Loop property of a CarouselView to false at runtime, the app crashes on Android.

Screen.Recording.2025-05-09.at.1.16.36.PM.mov

Steps to Reproduce

  1. Launch the application CarouselViewIssue 9.zip
  2. Click the DisabledLoop button that triggers the OnDisabledButtonClicked method to set Loop to false.
  3. Observe that crash on Android.

Expected Behavior:
The CarouselView should update the loop behavior dynamically without crashing.

Actual Behavior:
The app crashes on Android when Loop is set to false dynamically.

Link to public reproduction project repository

No response

Version with bug

9.0.60 SR6

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-collectionviewCollectionView, CarouselView, IndicatorViewpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/androids/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions