title: Errors while binding a library with Java annotations
body: <p>Fellow developers,</p>
  
  <p>I'm binding this library:</p>
  
  <p><a href="https://github.com/leinardi/FloatingActionButtonSpeedDial" rel="nofollow noreferrer">https://github.com/leinardi/FloatingActionButtonSpeedDial</a></p>
  
  <p>But I have faced two issues while generating the control:</p>
  
  <p><img src="https://us.v-cdn.net/5019960/uploads/editor/r2/vf57kh468gp0.png" alt=""></p>
  
  <p>The first one, I had an idea how to do it I added the following code in the Metadata.xml:</p>
  
  <pre><code>&lt;attr path="/api/package[@name='com.leinardi.android.speeddial']/class[@name='SpeedDialView']/method[@name='getBehavior']" name="GetBehavior"&gt;&lt;/attr&gt;
  </code></pre>
  
  <p>But I still get the error: <strong>'SpeedDialView' does not implement interface member.</strong></p>
  
  <p>The other problem, I have a guessing that is connected to the annotations (I already added this package <a href="https://www.nuget.org/packages/Xamarin.Android.Support.Annotations/" rel="nofollow noreferrer">Xamarin.Android.Support.Annotations</a>) since the function that is not working is the following one:</p>
  
  <pre><code>@ExpansionMode
  public int getExpansionMode() {
      return mInstanceState.mExpansionMode;
  }
  </code></pre>
  
  <p>Because later, there is an "interface" (not exactly from my research <a href="https://stackoverflow.com/a/918417/2889347">What's the difference between interface and @interface in java?</a>) created with this name and probably is not being renamed properly:</p>
  
  <pre><code>@Retention(SOURCE)
  @IntDef({TOP, BOTTOM, LEFT, RIGHT})
  public @interface ExpansionMode {
      int TOP = 0;
      int BOTTOM = 1;
      int LEFT = 2;
      int RIGHT = 3;
  }
  </code></pre>
  
  <p>Any idea how can I fix these 2 issues? I attached my <a href="https://us.v-cdn.net/5019960/uploads/editor/5o/3zlwv0dzasfa.zip" rel="nofollow noreferrer">project</a>.</p>