Picasso Load image from filesystem
Of course you can. Its actually pretty straight forward:
File f = new File("path-to-file/file.png");
or
File f = new File(uri);
Picasso.get().load(f).into(imageView);
also
Picasso.get().load(uri).into(imageView);
works
I want to load an image using Picasso from a file path
Use this
Picasso.with(context).load(Uri.parse("file://" + yourFilePath).into(imageView);
Loading Images With Picasso From The Internal Storage
First of all, obtain the path of the image to be loaded. Then, you can use
Picasso.with(context).load(new File(path)).into(imageView);
to load the image into an ImageView.
How to load image from url into imageview in widget using picasso
I think the problem is in your Picasso code.
First check data[position].imagepath return the correct image path.
If you still have the problem then try to show image into only one view.
For example you use:
rv is a image view
Picasso.get()
.load(data[position].image_path)
.into(rv)
Related Topics
How to Receive a Notification When the User Powers Off the Device
Fade in Fade Out Android Animation in Java
React Native Android Fetch Failing on Connection to Local API
What Is the Maximum Amount of Ram an App Can Use
Android: Viewpager and Horizontalscrollview
Get Center Visible Item of Recycleview When Scrolling
Android Get Orientation of a Camera Bitmap? and Rotate Back -90 Degrees
Disable Activity Slide-In Animation When Launching New Activity
Setuservisiblehint Called Before Oncreateview in Fragment
Install_Failed_Duplicate_Permission... C2D_Message
Get JSONarray Without Array Name
Google Play Game Services - Unable to Sign In
Changing Position of the Dialog on Screen Android
Getting Latitude and Longitude in 30 Seconds
Android Viewpager as Image Slide Gallery
Android.View.Inflateexception: Binary Xml File: Error Inflating Class Fragment