title: Xamarin binding of Android library(AAR)
body: <p>I want to use <a href="https://www.dsphotoeditor.com/" rel="nofollow noreferrer">https://www.dsphotoeditor.com/</a> library in xamarin Android. For that I have created a binding project. I know how to create binding, I have already do it for sinch library. But for <a href="https://www.dsphotoeditor.com/" rel="nofollow noreferrer">https://www.dsphotoeditor.com/</a>, I am not able to solve some error. I have updated its metdata.xml file with following content</p>
  
  <pre><code>&lt;attr path="/api/package[@name='com.dsphotoeditor.sdk.ui.focusablelinearlayout']" name="managedName"&gt;BindingFocusablelinearlayout&lt;/attr&gt;
    &lt;attr path="/api/package[@name='com.dsphotoeditor.sdk.ui.imagebrushview']" name="managedName"&gt;BindingImagebrushview&lt;/attr&gt;
    &lt;attr path="/api/package[@name='com.dsphotoeditor.sdk.ui.stickerview']" name="managedName"&gt;BindingStickerview&lt;/attr&gt;
    &lt;attr path="/api/package[@name='com.dsphotoeditor.sdk.ui.touchimageview']" name="managedName"&gt;BindingTouchimageview&lt;/attr&gt;
    &lt;attr path="/api/package[@name='com.dsphotoeditor.sdk.ui.touchimageview']/class[@name='TouchImageView']/method[@name='onConfigurationChanged' and count(parameter)=1 and parameter[1][@type='android.content.res.Configuration']]" name="visibility"&gt;protected&lt;/attr&gt;
    &lt;attr path="/api/package[@name='com.dsphotoeditor.sdk.ui.touchimageview']/class[@name='TouchImageView']/method[@name='onRestoreInstanceState' and count(parameter)=1 and parameter[1][@type='android.os.Parcelable']]" name="visibility"&gt;protected&lt;/attr&gt;
     &lt;attr path="/api/package[@name='com.dsphotoeditor.sdk.ui.touchimageview']/class[@name='TouchImageView']/method[@name='onSaveInstanceState' and count(parameter)=0]" name="visibility"&gt;protected&lt;/attr&gt;
    &lt;attr path="/api/package[@name='com.dsphotoeditor.sdk.ui.simplecropview']/class[@name='CropImageView']/method[@name='onDraw' and count(parameter)=1 and parameter[1][@type='android.graphics.Canvas']]" name="visibility"&gt;protected&lt;/attr&gt;
    &lt;attr path="/api/package[@name='com.dsphotoeditor.sdk.ui.simplecropview']/class[@name='CropImageView']/method[@name='onRestoreInstanceState' and count(parameter)=1 and parameter[1][@type='android.os.Parcelable']]" name="visibility"&gt;protected&lt;/attr&gt;
    &lt;attr path="/api/package[@name='com.dsphotoeditor.sdk.ui.simplecropview']/class[@name='CropImageView']/method[@name='onSaveInstanceState' and count(parameter)=0]" name="visibility"&gt;protected&lt;/attr&gt;
  </code></pre>
  
  <p>First to 4th line in above mentioned XML is added because to remove error</p>
  
  <blockquote>
    <p><strong>"Namespace path cannot have classname. Name voilation error"</strong></p>
  </blockquote>
  
  <p>5th to 10th lines added to make <strong>class protected(Reason:By default .Net making public classes so it cause issues in overriding java protected methods)</strong></p>
  
  <p>Above method metadata helps to fix some error but it still have many error .Error are given below</p>
  
  <blockquote>
    <p>Class BindingImagebrushview.ImageBrushView has unknown base type
    com.dsphotoeditor.sdk.ui.a.c.</p>
    
    <p>Unknown return type com.dsphotoeditor.sdk.ui.simplecropview.a in
    method A in managed type
    Com.Dsphotoeditor.Sdk.UI.Simplecropview.CropImageView.
          Unknown parameter type com.dsphotoeditor.sdk.ui.simplecropview.b.b in method A in managed
    type Com.Dsphotoeditor.Sdk.UI.Simplecropview.CropImageView.</p>
    
    <p>Unknown parameter type
    com.dsphotoeditor.sdk.ui.simplecropview.CropImageView.a in method A in
    managed type Com.Dsphotoeditor.Sdk.UI.Simplecropview.CropImageView.</p>
    
    <p>Unknown parameter type
    com.dsphotoeditor.sdk.ui.simplecropview.CropImageView.a in method
    SetCropMode in managed type
    Com.Dsphotoeditor.Sdk.UI.Simplecropview.CropImageView.</p>
    
    <p>Unknown parameter type
    com.dsphotoeditor.sdk.ui.simplecropview.CropImageView.c in method
    SetGuideShowMode in managed type
    Com.Dsphotoeditor.Sdk.UI.Simplecropview.CropImageView.
          Unknown parameter type com.dsphotoeditor.sdk.ui.simplecropview.CropImageView.c in method
    SetHandleShowMode in managed type
    Com.Dsphotoeditor.Sdk.UI.Simplecropview.CropImageView.</p>
  </blockquote>
  
  <p>Working Android code of this library <a href="https://drive.google.com/open?id=1msStp0MdaGVY8QVXl8ZVpzLrqXoJQoMG" rel="nofollow noreferrer">https://drive.google.com/open?id=1msStp0MdaGVY8QVXl8ZVpzLrqXoJQoMG</a></p>