title: @BindingAdapter not working with Android Kotlin library
body: <p>I've this <a href="https://developer.android.com/topic/libraries/data-binding/binding-adapters" rel="noreferrer"><code>BindingAdapter</code></a> to load image using <code>Glide</code> in my <strong>library</strong> module</p>
  
  <pre><code>import android.widget.ImageView
  import androidx.databinding.BindingAdapter
  import com.bumptech.glide.Glide
  
  @BindingAdapter("imageUrl")
  fun loadImage(view: ImageView, imageUrl: String) {
      Glide.with(view)
          .load(imageUrl)
          .into(view)
  }
  </code></pre>
  
  <p>and I tried to use the adapter like this</p>
  
  <pre><code>   &lt;ImageView
              ...
              app:imageUrl="@{`http://pngimg.com/uploads/alfa_romeo/alfa_romeo_PNG75.png`}"
              ... /&gt;
  </code></pre>
  
  <p>but am getting</p>
  
  <blockquote>
    <p>****/ data binding error ****msg:Cannot find the setter for attribute 'app:imageUrl' with parameter type java.lang.String on android.widget.ImageView.</p>
  </blockquote>
  
  <p>The weird thing is, when I convert the <code>BindingAdapter</code> to <code>Java</code> from <code>Kotlin</code>, it works.</p>
  
  <pre><code>public class ImageViewBindingAdapter {
  
      @BindingAdapter("imageUrl")
      public static void setImageUrl(ImageView view, String url) {
          Glide.with(view)
                  .load(url)
                  .into(view);
      }
  }
  </code></pre>
  
  <p>NOTE: This issue only exist with the <code>library</code> module. App module works perfectly fine with the <code>Kotlin</code> file.</p>
  
  <p>What am I doing wrong ? </p>