Loading Image from external Storage
suggest changegetExternalFilesDir takes a type argument. Pass null for the root of the app-specific external files directory. It can return null when that storage is unavailable. context and imageView are not declared on this page.
String filename = "image.png";
String imagePath = getExternalFilesDir(null) + "/" + filename;
Picasso.with(context)
.load(new File(imagePath))
.into(imageView);
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents