package com.sys1yagi.databindingsample.databinding;

import com.squareup.picasso.Picasso;
import com.sys1yagi.databindingsample.tools.RoundedCornerTransformation;

import android.content.Context;
import android.databinding.BindingAdapter;
import android.widget.ImageView;

public class ImageLoadAdapter {

    @BindingAdapter({"bind:imageUrl"})
    public static void bindImage(ImageView view, String url) {
        Picasso.with(view.getContext()).load(url).into(view);
    }

    @BindingAdapter({"bind:imageUrl", "bind:corner"})
    public static void bindImage(ImageView view, String url, int corner) {
        Context context = view.getContext();
        Picasso.with(context).load(url)
                .transform(new RoundedCornerTransformation(corner))
                .into(view);
    }
}

package com.sys1yagi.databindingsample.databinding;

import com.squareup.picasso.Picasso;
import com.sys1yagi.databindingsample.tools.RoundedCornerTransformation;

import android.content.Context;
import android.databinding.BindingAdapter;
import android.widget.ImageView;

public class ImageLoadAdapter {

    @BindingAdapter({"imageUrl"})
    public static void bindImage(ImageView view, String url) {
        Picasso.with(view.getContext()).load(url).into(view);
    }

    @BindingAdapter({"imageUrl", "corner"})
    public static void bindImage(ImageView view, String url, int corner) {
        Context context = view.getContext();
        Picasso.with(context).load(url)
                .transform(new RoundedCornerTransformation(corner))
                .into(view);
    }
}

--- 
+++ 
@@ -9,12 +9,12 @@
 
 public class ImageLoadAdapter {
 
-    @BindingAdapter({"imageUrl"})
+    @BindingAdapter({"bind:imageUrl"})
     public static void bindImage(ImageView view, String url) {
         Picasso.with(view.getContext()).load(url).into(view);
     }
 
-    @BindingAdapter({"imageUrl", "corner"})
+    @BindingAdapter({"bind:imageUrl", "bind:corner"})
     public static void bindImage(ImageView view, String url, int corner) {
         Context context = view.getContext();
         Picasso.with(context).load(url)
Revert namespace. Should write to distinguish the android namespace.
