On May 24, 2012, at 6:46 AM, Dariusz Sroka wrote:
> I saw examples how to map method types to correct enums, but I dont know how
> to map Properties? Any advices?
Properties are methods; the same syntax applies, with the stipulation that the
return type is the "return" parameter:
http://docs.xamarin.com/android/tutorials/Binding_a_Java_Library_(.jar)#Correcting_Enums
<!-- Add this to EnumMethods.xml -->
<mapping jni-class="org/kxml2/io/KXmlParserType">
<method jni-name="getEventType"
parameter="return"
clr-enum-type="Org.XmlPull.V1.XmlPullParserNode"
/>
</mapping>
- Jon
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid