|
@@ -3,9 +3,6 @@ package com.ysnows.base.binding
|
|
|
import android.graphics.drawable.Drawable
|
|
|
import android.widget.ImageView
|
|
|
import androidx.databinding.BindingAdapter
|
|
|
-import coil.load
|
|
|
-import com.bumptech.glide.Glide
|
|
|
-import com.ysnows.base.utils.glide.GlideUtils
|
|
|
|
|
|
object ImageBindingAdapter {
|
|
|
|
|
@@ -34,4 +31,4 @@ object ImageBindingAdapter {
|
|
|
fun setImageResource(imageView: ImageView, resource: Int) {
|
|
|
imageView.setImageResource(resource)
|
|
|
}
|
|
|
-}
|
|
|
+}
|