Constructor on type 'Syncfusion.XForms.Android.Cards.SfCardLayoutRenderer' not found.


Hello everyone, I have a problem with the component in question, but only on Android, with iOS it works perfectly.

Could anyone help me?

Thank you


here is my code, is the sample code .....


    SfCardLayout cardLayout = new SfCardLayout();

            cardLayout.Children.Add(new SfCardView() { Content = new Label() { Text = "Cyan", BackgroundColor = Color.Cyan } });

            cardLayout.Children.Add(new SfCardView() { Content = new Label() { Text = "Yellow", BackgroundColor = Color.Yellow } });

            cardLayout.Children.Add(new SfCardView() { Content = new Label() { Text = "Orange", BackgroundColor = Color.Orange } });



1 Reply

VO Vishal Omprasad Syncfusion Team July 31, 2023 12:23 PM UTC

Hi Antonino,

Based on the shared information, we have checked the reported issue “Constructor on type 'Syncfusion.XForms.Android.Cards.SfCardLayoutRenderer' not found” with a simple sample, but we are unable to reproduce the issue from out end. In the sample, we have used the same code snippet that you have shared. We have shared the tested sample and the tested video below for your reference.

Additional details:

SfCardLayout version: 22.2.5

Xamarin.Forms version: 5.0.0.2196

Android version: Android 9

Please check our sample and let us know if you still facing the same issue? if not, please modify our sample and revert us back with the following details which would be helpful for us to check on it and provide you the solution as soon as possible,

  • Share the issue replicate video.

  • Share the issue reproduced device details.

  • Share the issue reproducible sample.

Regards,

Vishal O.


Attachment: CardLayoutDemo_5cb7394e.zip

Loader.
Up arrow icon