How to upload a picture from external storage to imageView

Good day!

I upload a picture by URL and save it in the external storage in folder "Download"

request.setDestinationInExternalPublicDir(DIRECTORY_DOWNLOADS, "/ImageFolder/"  + "/" + "ImageTest" + ".png");

After that, I need to download the downloaded image in ImageView. I do it like this

File directory = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS + "/ImageFolder/" + "ImageTest.png");
Picasso.get().load(directory).into(mIVImage);

As I understand the error somewhere in the path.

MyLog: /storage/emulated/0/Download/ImageFolder/ImageTest.png

There is nothing along this "path".

here, I tried to do as the link above.

I ask for your help.

728x90

0 Answers How to upload a picture from external storage to imageView