Answers for "android binding adapter multiple parameters"

0

android binding adapter multiple parameters

@BindingAdapter(value = ["url", "defaultImage", "placeholder", "circleCrop"], requireAll = false)
fun ImageView.setImageUrl(url: String, default: Drawable? = null, placeholder: Drawable? = null, circleCrop: Boolean = false) {
  // code
}
Posted by: Guest on September-21-2020

Code answers related to "android binding adapter multiple parameters"

Browse Popular Code Answers by Language