Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Binding Adapters for Imageview with Glide
@BindingAdapter("loadImage")
fun loadImage(imageView: ImageView, imageUrl: String) {
Glide.with(imageView.context)
.load(imageUrl)
.into(imageView)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.