title: How to databinding image loading with Glide?
body: <p>I am trying to load image with databinding. But I never got over it. Where's my problem? Below is my code and layout construction.</p>
  
  <p>MyItemViewModel.kt</p>
  
  <pre><code>  @BindingAdapter("imageUrl")
      fun loadImage(view: RoundedImageView, url: String) = Glide.with(view.context).load(url).into(view)
  </code></pre>
  
  <p>layout.xml</p>
  
  <pre><code>&lt;data&gt;
  
      &lt;variable
              name="viewModel"
              type="com.myapp.app.ui.activity.albumlist.AlbumItemViewModel"/&gt;
  &lt;/data&gt;
  
    &lt;com.makeramen.roundedimageview.RoundedImageView
                  android:layout_width="60dp"
                  android:id="@+id/ivRoundedAlbum"
                  android:layout_marginStart="@dimen/unit_20_dp"
                  app:riv_corner_radius="8dp"
                  app:imageUrl="@{viewModel.data.cover}"
                  android:layout_height="60dp"/&gt;
  </code></pre>