Reputation: 411
I am trying to bind Card.IO with Xamarin Studio. I am getting the error "Classses cannot have multiple base classes." The line of code is here :
public sealed partial class CardIOActivity : global::Android.App.Activity, global::IO.Card.Payment.IN {
Does anyone know the line of code needed in Metadata.xml to remove one of these base classes?
Thanks
Upvotes: 0
Views: 590
Reputation: 13600
Odd; I would expect IN
to be an interface...
Above the CardIOActivity
declaration should be a comment providing the XPath expression to refer to the type. Using that as a basis, you can <remove-node/>
the <interface/>
:
<remove-node path="/api/.../class[@name='CardIOActivity']/implements[@name='io.card.payment.n']" />
Upvotes: 1