Tutorial by Examples

It is possible to instruct the Xamarin.Android Bindings Generator to ignore a Java type and not bind it. This is done by adding a remove-node XML element to the metadata.xml file: <remove-node path="/api/package[@name='{package_name}']/class[@name='{name}']" />
If a java library contains interfaces that should be implemented by the user (e.g. click listeners like View.IOnClickListener or callbacks), the implementing class has to inherit -- directly or indirectly -- from Java.Lang.Object or Java.Lang.Throwable. This is a common error, because the packaging ...
Not everything in a bindings library will have the same name in C# as it does in Java. In C#, interface names start with "I", but Java has no such convention. When you import a Java library, an interface named SomeInterface will become ISomeInterface. Similarly, Java doesn't have propert...

Page 1 of 1