I'm trying to bind this class (follow link below): http://codeviewer.org/view/code:27cb Click here to view code
The important thing to note is that the class contains a method called setEnabled. However when I build the JAR binding project this method is not included in the api.xml that is generated and it is causing an error in the generated C# code since this method is missing. Below is the output from api.xml that pertains to this class. Any ideas why the method is missing from api.xml? Is this a bug in mono for android or is there something I can do in the transform file to fix it? Thanks. <class abstract="false" deprecated="not deprecated" extends="android.widget.LinearLayout" extends-generic-aware="android.widget.LinearLayout" final="false" name="ActionMenuItemView" static="false" visibility="public"> <implements name="android.view.View.OnClickListener" name-generic-aware="android.view.View.OnClickListener"> </implements> <implements name="android.view.View.OnLongClickListener" name-generic-aware="android.view.View.OnLongClickListener"> </implements> <implements name="com.actionbarsherlock.internal.view.View_HasStateListenerSupport" name-generic-aware="com.actionbarsherlock.internal.view.View_HasStateListenerSupport"> </implements> <implements name="com.actionbarsherlock.internal.view.menu.ActionMenuView.ActionMenuChildView" name-generic-aware="com.actionbarsherlock.internal.view.menu.ActionMenuView.ActionMenuChildView"> </implements> <implements name="com.actionbarsherlock.internal.view.menu.MenuView.ItemView" name-generic-aware="com.actionbarsherlock.internal.view.menu.MenuView.ItemView"> </implements> <constructor deprecated="not deprecated" final="false" name="ActionMenuItemView" static="false" type="com.actionbarsherlock.internal.view.menu.ActionMenuItemView" visibility="public"> <parameter name="p0" type="android.content.Context"> </parameter> </constructor> <constructor deprecated="not deprecated" final="false" name="ActionMenuItemView" static="false" type="com.actionbarsherlock.internal.view.menu.ActionMenuItemView" visibility="public"> <parameter name="p0" type="android.content.Context"> </parameter> <parameter name="p1" type="android.util.AttributeSet"> </parameter> <parameter name="p2" type="int"> </parameter> </constructor> <constructor deprecated="not deprecated" final="false" name="ActionMenuItemView" static="false" type="com.actionbarsherlock.internal.view.menu.ActionMenuItemView" visibility="public"> <parameter name="p0" type="android.content.Context"> </parameter> <parameter name="p1" type="android.util.AttributeSet"> </parameter> </constructor> <method abstract="false" deprecated="not deprecated" final="false" name="addOnAttachStateChangeListener" native="false" return="void" static="false" synchronized="false" visibility="public"> <parameter name="p0" type="com.actionbarsherlock.internal.view.View_OnAttachStateChangeListener"> </parameter> </method> <method abstract="false" deprecated="not deprecated" final="false" name="dispatchHoverEvent" native="false" return="boolean" static="false" synchronized="false" visibility="public"> <parameter name="p0" type="android.view.MotionEvent"> </parameter> </method> <method abstract="false" deprecated="not deprecated" final="false" name="getItemData" native="false" return="com.actionbarsherlock.internal.view.menu.MenuItemImpl" static="false" synchronized="false" visibility="public"> </method> <method abstract="false" deprecated="not deprecated" final="false" name="hasText" native="false" return="boolean" static="false" synchronized="false" visibility="public"> </method> <method abstract="false" deprecated="not deprecated" final="false" name="initialize" native="false" return="void" static="false" synchronized="false" visibility="public"> <parameter name="p0" type="com.actionbarsherlock.internal.view.menu.MenuItemImpl"> </parameter> <parameter name="p1" type="int"> </parameter> </method> <method abstract="false" deprecated="not deprecated" final="false" name="needsDividerAfter" native="false" return="boolean" static="false" synchronized="false" visibility="public"> </method> <method abstract="false" deprecated="not deprecated" final="false" name="needsDividerBefore" native="false" return="boolean" static="false" synchronized="false" visibility="public"> </method> <method abstract="false" deprecated="not deprecated" final="false" name="onClick" native="false" return="void" static="false" synchronized="false" visibility="public"> <parameter name="p0" type="android.view.View"> </parameter> </method> <method abstract="false" deprecated="not deprecated" final="false" name="onFinishInflate" native="false" return="void" static="false" synchronized="false" visibility="public"> </method> <method abstract="false" deprecated="not deprecated" final="false" name="onLongClick" native="false" return="boolean" static="false" synchronized="false" visibility="public"> <parameter name="p0" type="android.view.View"> </parameter> </method> <method abstract="false" deprecated="not deprecated" final="false" name="prefersCondensedTitle" native="false" return="boolean" static="false" synchronized="false" visibility="public"> </method> <method abstract="false" deprecated="not deprecated" final="false" name="removeOnAttachStateChangeListener" native="false" return="void" static="false" synchronized="false" visibility="public"> <parameter name="p0" type="com.actionbarsherlock.internal.view.View_OnAttachStateChangeListener"> </parameter> </method> <method abstract="false" deprecated="not deprecated" final="false" name="setCheckable" native="false" return="void" static="false" synchronized="false" visibility="public"> <parameter name="p0" type="boolean"> </parameter> </method> <method abstract="false" deprecated="not deprecated" final="false" name="setChecked" native="false" return="void" static="false" synchronized="false" visibility="public"> <parameter name="p0" type="boolean"> </parameter> </method> <method abstract="false" deprecated="not deprecated" final="false" name="setExpandedFormat" native="false" return="void" static="false" synchronized="false" visibility="public"> <parameter name="p0" type="boolean"> </parameter> </method> <method abstract="false" deprecated="not deprecated" final="false" name="setIcon" native="false" return="void" static="false" synchronized="false" visibility="public"> <parameter name="p0" type="android.graphics.drawable.Drawable"> </parameter> </method> <method abstract="false" deprecated="not deprecated" final="false" name="setItemInvoker" native="false" return="void" static="false" synchronized="false" visibility="public"> <parameter name="p0" type="com.actionbarsherlock.internal.view.menu.MenuBuilder.ItemInvoker"> </parameter> </method> <method abstract="false" deprecated="not deprecated" final="false" name="setShortcut" native="false" return="void" static="false" synchronized="false" visibility="public"> <parameter name="p0" type="boolean"> </parameter> <parameter name="p1" type="char"> </parameter> </method> <method abstract="false" deprecated="not deprecated" final="false" name="setTitle" native="false" return="void" static="false" synchronized="false" visibility="public"> <parameter name="p0" type="java.lang.CharSequence"> </parameter> </method> <method abstract="false" deprecated="not deprecated" final="false" name="showsIcon" native="false" return="boolean" static="false" synchronized="false" visibility="public"> </method> </class> -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/JAR-Binding-Problem-tp5710768.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid