In my app I had used the picasso library but when I integrated in my code then it will show .invalidate(file) by red color . How can solve it? 
Please find the below code for more reference:
        FutureCallback<File> writeNewFileCallback = new FutureCallback<File>() {
        @Override
        public void onCompleted(Exception e, File file) {
            if (e == null) { // Success
                Picasso.with(MyApp.this.getActivity()).invalidate(file);
                Transformation transformation = new     RoundedTransformationBuilder()
                        .scaleType(ImageView.ScaleType.FIT_XY)
                        .borderColor(Color.parseColor("#77e5e5e5"))
                        .borderWidthDp(2)
                        .cornerRadiusDp(15)
                        .oval(false)
                        .build();}
When change it to :
`Picasso.with(this).invalidate(file);`
"this" will be unknown.
 
     
     
     
    