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!

The following code:

Xamarin.Forms.Image mapMakerImage = new Xamarin.Forms.Image();

mapMakerImage.Source = "placeholder.png"; 
mapMakerImage.WidthRequest = ...;
mapMakerImage.HeightRequest = ...;

customViewSettings.Bounds = new Rectangle(...); 
editor.AddCustomView(mapMakerImage, customViewSettings);

causes 'S

pecified cast is not valid' exception to appear. (Don't have the full stack but the last point is at FormsConverToNative-something).

The issue appears on Android only. iOS is fine.


Android: 9.0 (Pie)