title: How do I select which Binding Conversion or Binding Adapter to use?
body: <p>This concerns two features in the Data Binding guide (<a href="https://developer.android.com/topic/libraries/data-binding/index.html" rel="nofollow">https://developer.android.com/topic/libraries/data-binding/index.html</a>) : BindingAdapters and BindingConverions.  The following examples are from the guide:</p>
  
  <hr>
  
  <pre><code>@BindingAdapter("android:paddingLeft")
  public static void setPaddingLeft(View view, int oldPadding, int newPadding) {
     if (oldPadding != newPadding) {
         view.setPadding(newPadding,
                         view.getPaddingTop(),
                         view.getPaddingRight(),
                         view.getPaddingBottom());
     }
  }
  </code></pre>
  
  <hr>
  
  <pre><code>@BindingConversion
  public static ColorDrawable convertColorToDrawable(int color) {
      return new ColorDrawable(color);
  }
  </code></pre>
  
  <hr>
  
  <p>My questions are:</p>
  
  <p>If I have two different BindingAdapters with the same method signature, how can I indicate which one to use for a given view? (without using custom field name variants such as myPaddingLeftOne, myPaddingLeftTwo, etc)</p>
  
  <p>Similarly, if I have two BindingConversions which have the same input and return types, how can I indicate which to use in a given situation?  </p>