I'm having a problem compiling a binding project using Xamarin. The original jar file has an interface that contains two methods that are named equally but receive different parameter (an overload method). When the binding project translates jar file to C# code, it results in some errors due this overloading.
If I change the method name using the Metadata.xml file, it changes both name methods but it ends in the same errors.
Here is the original interface code in jar file:
public abstract interface MitControllerListener
{
public abstract void setMITCardInformation(MITCardInformation paramMITCardInformation);
public abstract void setMitError(String paramString, int paramInt);
public abstract void setResult(String paramString);
public abstract void setResult(BeanResponseSell paramBeanResponseSell);
}
This is the api.xml in the binding project corresponding to the overload method:
<method abstract="true" deprecated="not deprecated" final="false" name="setResult" native="false" return="void" static="false" synchronized="false" visibility="public">
<parameter name="p0" type="com.mitec.bean.BeanResponseSell">
</parameter>
</method>
<method abstract="true" deprecated="not deprecated" final="false" name="setResult" native="false" return="void" static="false" synchronized="false" visibility="public">
<parameter name="p0" type="java.lang.String">
</parameter>
BGwarnings? - jonp