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

SfRotator appears only when the orientation of the device is changed

I recently tried the Essential UI kit from Syncfusion for developing ecommerce app, and on the details page of the product is the SfRotator control that only shows the list of product images when the device orientation changes. What might be wrong please?

5 Replies

YP Yuvaraj Palanisamy Syncfusion Team October 14, 2019 06:08 AM UTC

Hi Pat Nadis, 

Thanks for contacting Syncfusion support. 

The mentioned issue is with the Xamarin.Forms NuGet package, you can avoid this issue by updating to the latest Xamarin.Forms version in your application. We are using Xamarin.Forms version 4.3.0.778476-pre1 and we could not reproduce this issue at our end. 

Also, the issue is not reproduced in latest stable Xamarin.Forms version. 

Please let us know if you need any further assistance on this. 

Regards, 
Yuvaraj 



PN Pat Nadis October 14, 2019 03:48 PM UTC

Alright! Thank you for your quick response. I updated to Xamarin.Forms Version 4.2.0.848062 which is the latest stable version my project have access to.
After my update, the SfRotator still doesn't appear until the device orientation is changed. Any other way out!!!


YP Yuvaraj Palanisamy Syncfusion Team October 15, 2019 01:11 PM UTC

Hi Pat Nadis, 
As per your requirement we have prepared a sample with Details page for your reference, but we are not able to reproduce the reported issue at our end. Please find the sample from the below location. 
Also, please give us the following details which is helpful to provide the better solution. 
·       Which platform? 
·       Deploying device with model name? 
·       Syncfusion Nuget package version? 
·       Whether you can took details page by either GitHub or Visual Studio Extension  
Regards, 
Yuvaraj 



AK Arnd Klocker March 27, 2020 05:37 PM UTC

Have you solved this issue? It already exists in the last version:

Syncfusion: 17.4.0.55
Xamarin.Forms: 4.5.0.495
Platform: Android

We us the SfRotator in an DataTemplate!

You can test it with your example, but without the code behind. Remove the following lines from the example, you can't have a x:Name in an DataTemplate. For selecting the right DataTemplate in the rotator you can use a TemplateSelector.

 if (width > height)
 {
      Rotator.ItemTemplate = (DataTemplate)this.Resources["LandscapeTemplate"];
 }
 else
 {
      Rotator.ItemTemplate = (DataTemplate)this.Resources["PortraitTemplate"];
 }


Regards 
Arnd


DV Divya Venkatesan Syncfusion Team March 30, 2020 11:04 AM UTC

Hi Arnd, 
 
We have modified the sample based on the provided details. We are not able to reproduce the reported issue and we have attached the testing sample and video for your reference. Could you please check whether you are able to reproduce the issue in the attached sample?   
   
 
   
If not, could you please modify the sample based on your requirement and provide device details which would be more helpful for us to assist you?  
   
Regards, 
Divya Venkatesan 


Loader.
Live Chat Icon For mobile
Up arrow icon