public static void imageUrl(ImageView imageView, String url) {
Glide.with(imageView.getContext()).load(url).into(imageView);
}
} class CustomBinder {
companion object {
@BindingAdapter("app:imageUrl")
fun imageUrl(imageView: ImageView, url: String) {
Glide.with(imageView.context).load(url).into(imageView)
}
}
}