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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Sf rotator System.ArgumentNullException: Value cannot be null. Parameter name: view

Thread ID:

Created:

Updated:

Platform:

Replies:

144776 May 22,2019 04:06 AM UTC May 27,2019 06:49 AM UTC Xamarin.Forms 3
loading
Tags: SfRotator
Ernesto
Asked On May 22, 2019 04:10 AM UTC

Im getting an error when my app is trying to load a view with SFRotator   System.ArgumentNullException: Value cannot be null. Parameter name: view

The SF rotator is binded with an Observable collection of a class and also im using SfRotator.ItemTemplate

This behavior only appears when deploying on IOS; In Android is working perfectly

Im Attaching my current view that is presenting the issue

Please help

Using Syncfusion.Xamarin.SfRotator Version=17.1.0.48

I'm testing iOS with iPhoneEmulator iOS 12.1.

Attachment: Views_5c72face.zip

Muneesh Kumar G [Syncfusion]
Replied On May 22, 2019 01:05 PM UTC

Hi Ernesto,  
  
Greetings from Syncfusion.  
  
We have validated your query and found that the reported issue occurs only if the font icon ttf file is not included in info.plist file for iOS platform. Please refer the below link for this.  
  
https://github.com/wilsonvargas/ButtonCirclePlugin/blob/master/README.md

We have created a sample as per your code snippet. Please find the sample from below link.
  
  
  
Please get back us, if you have any other queries.   
  
Regards,  
Muneesh Kumar G     
 


Ernesto
Replied On May 26, 2019 10:28 PM UTC

In fact, it turned out to be something different.

It is related to setting the rotator item source to an empty (0 Items) observable collection, and filling it afterwards. Then I'm getting the reported Exception when OnAppearing Event loads

After I found out that, I manage to fix the issue anyways.

Thanks for your help.

Muneesh Kumar G [Syncfusion]
Replied On May 27, 2019 06:49 AM UTC

Hi Ernesto, 
  
Thanks for the update. 
  
We are glad to know that the given solution works. Please let us know if you need any further assistance. 
 
Thanks, 
Muneesh Kumar G. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon