Thursday, 15 August 2013

c# - default constructor not found of type'MyClass' -


I'm trying to present a custom view from xamarin.forms. When I try to present it with the following code

[Assembly: Unrestricted (typef (swipe), type (cardcontinent)).

but throws it in the form of an error

Default constructor is called 'com. Did not get the 'endinde.cardcontainer' type.

I think because the card container does not have the default constructor and I can not provide one because it comes from the adapterview.

What I am doing wrong Any help will be appropriated.

I think this is a known bug in case though I had the same problem with dependency service. I solved it by setting "Link Framework SDK only" in the Linker behavior of the iOS Build option.


No comments:

Post a Comment