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);
    }
}

@@ -313,37 +313,32 @@
 indingAdapter(%7B%22
-bind:
 imageUrl%22%7D)%0A    
@@ -487,21 +487,16 @@
 apter(%7B%22
-bind:
 imageUrl
@@ -503,13 +503,8 @@
 %22, %22
-bind:
 corn

Remove unnecessary namespace.