Welcome to the Xamarin.Forms feedback portal. We’re happy you’re here! If you have feedback on how to improve the Xamarin.Forms, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!


As the title says, SfRotator control crashes with 


Attached a sample solution that demonstrates the problem. You would see few Task.Delay in the code, that is to simulate the actual work done in original app.

Steps to reprodude:

- Just start the application in Android emulator. 

- Click the "
Reinitialize Rotator
" button on the bottom of the main page. You should see the exception.

Exception Details:
Unhandled Exception:
System.DivideByZeroException: Attempted to divide by zero. occurred

0xFFFFFFFFFFFFFFFF in System.Diagnostics.Debugger.Mono_UnhandledException_internal 0x1 in System.Diagnostics.Debugger.Mono_UnhandledException 0x20 in object.29 0x2F in Com.Syncfusion.Rotator.SfRotator.GetViewFromItemsList 0x5E in Com.Syncfusion.Rotator.SfRotator.RefreshHolderView 0x73 in Com.Syncfusion.Rotator.SfRotator.b__219_0 0x6 in Java.Lang.Runnable.Run 0xA in Java.Lang.IRunnableInvoker.n_Run 0x11 in object.29

Syncfusion Version :
Emulator : Genymotion
Android Version :Google Pixel 2 Template (Android 9, Api-28)

Note: You may not see the exception as I have handled it in 
TestPageViewModel class. Either remove exception handling there or set your exception handling settings in visual studio to "Break when exception is thrown" to be able to visualize the problem.

Feel free to reach me for any questions.