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

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

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

3 Replies

MK Muneesh Kumar G Syncfusion Team 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     
 



ER Ernesto 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.


MK Muneesh Kumar G Syncfusion Team 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. 


Loader.
Live Chat Icon For mobile
Up arrow icon