We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Xamarin.Forms Android - SFRotator NavigationStripMode.Thumbnail causes error: Java.Lang.IllegalArgumentException width and height must be > 0

Hello Syncfusion,

I am currently using the SFRotator control in my Xamarin.Forms project. Everything is working as expected in iOS with no issues, but on the Android environment, I am observing the following error if my NavigationStripMode is set to NavigationStripMode.Thumbnail.

Java.Lang.IllegalArgumentException width and height must be > 0

When I set the NavigationStripMode to NavigationStripMode.Dots, I no longer get the error on the Android environment. However, all of my images are not rendered in the SFRotator control. In the iOS environment, all images in the SFRotator are displayed.

Please advise on what I can do to work around this issue.

Kind Regards


1 Reply

DR Dhanasekar R Syncfusion Team December 24, 2018 06:23 AM

Hi Kenzo,

 
Greetings from Syncfusion. 
 
We have validated your reported issue “An exception occurs when setting NavigationStripMode as thumbnail” in the latest version 16.4.0.42 and we are unable to reproduce the reported issue from our side. We have prepared the sample to show that rotator works fine when setting the “NavigationStripMode” as thumbnail. Please have the sample from the below link. 
 
 
Please check our sample and if the issue persists in your side, please modify our sample to replicate the issue so that we can give an appropriate solution for the reported issue. 
 
Regards, 
Dhanasekar 
 


Loader.
Live Chat Icon For mobile
Up arrow icon