Categories custom-attributes

1 post

Auto Added by WPeMatico

Custom attributes using BindingAdapters in Kotlin

Using the Android data binding framework it’s easy to define a custom attribute that can be used in a layout files. It’s just a static method with the right parameters annotated with @BindingAdapter. The most common example is a method that allows to use Glide or Picasso to populate an […]