Accorrding to this great article: Loading images with Data Binding and Picasso
there are two ways to do it:
- Using
@BindingAdapter
ObservableField
& custom Picasso Target
In Android Developers reference Data Binding Guide, you would find only the first one.
Please read both articles.
More informations:
- http://www.mutualmobile.com/posts/using-data-binding-api-in-recyclerview
- https://blog.stylingandroid.com/data-binding-part-3/
Hope it help.