Here is the local file path
/storage/emulated/0/xxxxx/1425879337987.jpg
Here is the code
Picasso.with(getContext()).load(new File(local file path)).into(mImageView);
i use picasso 2.5.0
you can view image by other app, example: this file mayble a text file but rename to "text.jpg"
@vuhung3990 this path from my gallery
@sd6352051 it work perfect, good luck:
Picasso.with(context).load("file://"+path).config(Bitmap.Config.RGB_565).fit().centerCrop().into(imageView);
@vuhung3990 you are right,thanks,but i use load(new File(local file path)) not worked.
@vuhung3990 hi
its worked
Picasso.with(context).load("file://"+path).config(Bitmap.Config.RGB_565).fit().centerCrop().into(imageView);
its not worked
Picasso.with(context).load("file://"+path).config(Bitmap.Config.RGB_565).centerCrop().into(imageView);
Why is that?
here is answer of author: http://stackoverflow.com/questions/20823249/resize-image-to-full-width-and-fixed-height-with-picasso
Very Thanks @vuhung3990 !
Most helpful comment
@sd6352051 it work perfect, good luck: