Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Library binding: Interface getter with specialized class setter

I'm down to a single issue with my library binding but can't find the solution. I have an interface that has a getWhatever method and it's subclass that implements this method. Lets calls it SubclassA, it is an abstract class. Then a third class that extends SubclassA wants to add a setWhatever method. Of course this binding fails because it finds no setter to override in SubclassA but it must override the property getter...

How do I get out of this? I thought of removing the getter binding with remove-node but can't get it working. Neither can I get an extra setter with add-node. Now I'm thinking that the best option would be to prevent the original getWhatever to be treated as a property, but I have no clue how to proceed...

Any help is welcome!
Thanks

Best Answer

Answers

Sign In or Register to comment.