Questions tagged [picasso]

Picasso is an open source powerful and dynamic image caching and downloading library by Square.

Working with bitmaps can be hard on Android apps. There are too many things that can go wrong. The golden rule is decode only as much as you need, never more. Picasso is the realization of this rule by Square.

With automatic canceling, transformations and a fluent API, Picasso provides a super fast, elegant solution for downloading, caching and displaying images to your Android app.

Official Site: http://square.github.io/picasso/

2541 questions
0
votes
1 answer

Picasso is showing wrong image when file does not exists on local storage

I've a recycler view which shows list of users with their avatar. After login I download all avatar and save them locally with the file name which is user's row id from mongo db. When the avatar file is not available in storage Picasso loads one of…
Shahid Kamal
  • 380
  • 2
  • 14
0
votes
1 answer

How to prevent of loading images from previous results?

I am implementing search and there are cases when images of old results are loaded and applyed to new ones, so how can I prevent Glide loading images and displaying on imageView when I have new search results.
Artur A
  • 257
  • 3
  • 20
0
votes
3 answers

Images loaded from firestore with Picasso not showing in cardview

I am loading images into CardView with Picasso from Firebase but the images are not showing I am following this guide: How to display data from Firestore in a RecyclerView with Android?. However images are still not visible. cardview layout
David
  • 769
  • 1
  • 6
  • 28
0
votes
2 answers

Picasso not work with 1.bp.blogspot.com url

I tried to do everything but not working. I checked the link a thousand times and opened it in the browser and it works well. But another link works perfectly Do anyone tell me why this code does not work? class MainActivity : AppCompatActivity()…
Ali Saki
  • 3
  • 6
0
votes
1 answer

Image corrupted when loading offline with com.squareup.okhttp3

I get an dogear in every image loaded when phone is offline using com.squareup.okhttp3 The image loaded from firebase is the right image, but there is some eardog on it... implementation 'com.squareup.okhttp3:okhttp:4.0.0-alpha02' ImageView…
Dima Bokov
  • 91
  • 1
  • 14
0
votes
2 answers

How to let user crop the image using Picasso?

I am using Picasso to get the image but it sometimes rotates the image to fit it in the image view. Also, I want to let the user decide which part of the image should be cropped. Is there a way I could do it? Please suggest how to code it or some…
Pandey
  • 91
  • 8
0
votes
1 answer

Got different ImageView sizes using ListView

i have got an strange issue, in my ListView, I've got an ImageView, which should have specifed by me size. Everything works just fine in the avd, but in real device, it's getting weird because of different sizes of ImageView. What should I do with…
user11579384
0
votes
0 answers

In the Following Code Shows in the Statement "return view == Object;"

Sir I am new to android programming. I tried to use ViewPager to display multiple side scrolling images using Picasso. The Code given is copied from Youtube Video to use View Pager. But in the following function the statement return view == Object;…
0
votes
0 answers

PICASSO GET() METHOD NOT LOADING IMAGE FROM URL IN ANDROID

I used Picasso Get() method to lad a png file from URL. But the app crashes and does nothing. I searched in Internet and community and tried the suggestions and recommendations I found. But alas the problem not solved. Please help me. This the…
0
votes
1 answer

How to load image with picasso in android for an item before item appears?

I have a recycler view that each item of it has an image that picasso loads that image. When I scroll the recycler view before picasso loads the image, I show a placeholder but in most of the cases, picasso is slow and placeholder appears. Note…
Javad Karimi
  • 13
  • 1
  • 7
0
votes
2 answers

Picasso not loading images from Firebase Storage onto RecyclerView

I'm trying get images from Firebase Storage through the Picasso library and display them on a RecyclerView. I have also tried loading the images using other libraries such as Glide and Fresco, but still the images are not showing. Please find below…
Areen
  • 11
  • 6
0
votes
0 answers

Load base64 string into imageview using picasso

I am new in android development.I have a PNG base64 local string image that stored in a variable and I want to show it on ImageView using Picasso.but picasso only get 'Resources, assets, files'.So How can I load My image?
Mohammad Noori
  • 137
  • 2
  • 10
0
votes
0 answers

Android Picasso - how do I know memory issue is fixed?

I'm using a RecyclerView with images (approx 140 items in the list). I had memory issues before so I removed the images from the view completely, before I put the APP live. Now I am using Picasso to load the images, but before I upload this new…
NottmTony
  • 447
  • 1
  • 6
  • 28
0
votes
2 answers

Binding adapter used to display images from URL using Picasso

I have a project in Github : https://github.com/AliRezaeiii/News-Cache It includes following Binding adapter : @BindingAdapter("imageUrl") fun bindImage(cardView: CardView, url: String) { val imageView: ImageView =…
Ali
  • 9,800
  • 19
  • 72
  • 152
0
votes
0 answers

With(context) using picasso is now get() instead. How do I get(context) or make my code load the pictures from lorempixel if notrom pi

How do I use the get() to replace with(context) in Picasso.with(context) If I just switch out with(context) with get() it doesn't retrieve the resources I need. I'm not quite sure what do as I am learning to program currently so if I could get an…
Cronus
  • 1
  • 2
1 2 3
99
100