Professed3376
Professed3376

Reputation: 411

Xamarin Android - Binding Card.IO - Class cannot have multiple base classes

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

Answers (1)

jonp
jonp

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

Related Questions