Closed ghost closed 9 years ago
I apologize for the bad code formatting, i did not know how.
This does not seem to be a picasso problem. Picasso finishes the requests and sets the drawable to your custom CircularImageView
.
Try using noPlaceholder()
in your request..
It worked! Thanks you! Adding .noPlaceHolder() solved the problem. Continue the great work!
@dnkoutso - amazing solution.
I just found this solution, did you know data.getData() has a get path method built in? data.getData().getPath().
Thank you so much for this, I was having the same issue with "CircularImageView". and noPlaceholder() seemed to do the job
Hello!
First of all, i wanted to say that I have a lot of respect for your work, and your API is very easy to use. Congrats for that!
I am trying to load an image with path/uri into an imageView using Picasso, but it crashes. I have the following code:
Using it like this, it crashes. Here is the stack trace:
I went with the debugger from start to end, the path is shown correctly, but the app crashed. Line 141 is ".into(profilePictureImageView)".
Oddly, but when I load the image with default Android methods, it works. Here is the code for that:
I don't understand why. I read dozens of stackoverflow articles for this, but i did not get to any resolve.
Can you kindly help me with this problem?
Thanks, cheers!