Questions tagged [picasso]

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

Filter by
Sorted by
Tagged with
0 votes
4 answers
9k views

java.lang.IllegalArgumentException: Target must not be null

When I am passing image url to Picasso then it shows me error "Target must not be null". When I fetch image from url using Picasso then it shows me error. Even my id assigned to image is correct. At ...
0 votes
0 answers
9 views

Cannot resolve method 'into(ImageView)'

Picasso.get().load("https:".concat(modal.getIcon())).into(holder.conditionIV); No candidates found for method call Picasso.get().load("https:".concat(modal.getIcon())).into(holder....
0 votes
1 answer
28 views

Not being able to get image from URL and insert it into Recycler view

I'm working on a project where we receive a link to an image and we're supposed to use it as an "icon" to a specific recycler view Item. I'm trying to use Picasso to get this done but It's ...
0 votes
0 answers
14 views

Nothing triggers when trying to download images with Picasso

Nothing triggers when trying to download images with Picasso. Only the onPrepareLoad() method is called. Photo size: 1.4mb Picasso.get().load(args.wallpaper.url) ...
0 votes
1 answer
20 views

Issue with Picasso library to fetch image from Firebase storage

I am trying to display user image from firebase storage to a CircleImageView but Piccaso does not show any image or sometimes the image holder gets disapeared. Code to get image: private String ...
3 votes
1 answer
136 views

Getting false warning message for a newer version of the Picasso library in Android Studio

I am seeing a warning message in Android Studio when I use the Picasso library in my Android project. The warning message says A newer version of com.squareup.picasso:picasso than 2.8 is available: 2....
0 votes
0 answers
38 views

how to resize image after load image from server

I want to resize image when image will be load from server url. I am using Picasso Library for load and show image. But image size is too large so my app going to slow. I want to solve this. I want to ...
0 votes
1 answer
37 views

How to upload images from a server and switch images with a seekbar without the previous image disappearing?

I have been commissioned by the Autonomous University of Barcelona to make an app that shows images of the microscope stage of a mineral sample. Specifically I have photos of the same sample spaced by ...
2 votes
2 answers
2k views

How to use Picasso library with Androidx?

I have an One year old code, which I worked so hard on, this code uses picasso library in some places to download images and use them. Today I try to improve my code, migrate to androidx and upgrade ...
0 votes
0 answers
47 views

Google Books API with Picasso

Problem with getting the thumbnails Recently I was working on a project where I was supposed to getting the Book thumbnail from Google Books API The JSON was as the following : "imageLinks": ...
7 votes
8 answers
8k views

Picasso doesn't tolerate empty String URL?

I have a viewHolder that loads up an image using Picasso. The DB will return a path of URL as String. So I have my code as below (Using Kotlin) Picasso.with(context).load(url).error(placeholder)....
0 votes
1 answer
24 views

Android Picasso how can I load image

add in build.gradle library picasso add permission in Manifest file add ImageView to layout in MainActivity @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(...
0 votes
1 answer
27 views

How to load a photo with Picasso

I am implementing an app and i'm trying to load the photo using picasso but i am not getting any result . How can i figure it out ? Here 's what i've done : public class FullScreenPhoto extends ...
0 votes
0 answers
49 views

How to get photos from getExternalFilesDir

I am implementing a gallery app where i want to use photpos stored in getExternalFilesDir(Environment.DIRECTORY_PICTURES) directory .. Here is the code but what i get is all the gallery photo pictures ...
0 votes
1 answer
30 views

Picasso performance issues when resizing multiple images

I have an activity that need to load multiples images and resize them so that they fit screen width. I try to load the images into this.frameHolder which is a LinearLayout inside a NestedScrollView ...
0 votes
1 answer
58 views

Glide & Picasso not loading cloudfront URLs over wifi connection

Glide and Picasso working fine in my mobile internet connection. But when I connect my mobile with other mobile hotspot it is not working.If you have doubt you can check my URLs: https://...
0 votes
0 answers
56 views

Android: Http request fails in wifi connection

I have an issue with HTTPS requests. I do not know why? But I have been observing that in the same wifi(mobile hotspot) youtube and Instagram loads very well. But in my app, I have tried Picasso, ...
0 votes
1 answer
109 views

My app is crashed when load image from URL using Picasso and mvvm architecture

I am using MVVM architecture and I want to load image from URL in Fragment. But it is crashed and show an error: Required DataBindingComponent is null in class FragmentHomeBindingImpl. A ...
0 votes
0 answers
57 views

Glide Image loading disk conflicts

I have a list of images URLs I'm preloading the images using the below code before adding the adapter to recyclerView. for(int i=0;i<mediaList.size();i++){ ExecutorService serviceImage = ...
0 votes
0 answers
13 views

Image on onBindViewHolder won't stay on Recyler View after reopening the app (using Picasso)

After I add profileimage on the recycler view it shows on the Recyler View along with its respective profile name, but after reopening or terminating the app, the loaded image is replaced with the ...
90 votes
13 answers
90k views

Resize image to full width and variable height with Picasso

I have a listView with an adapter that contains ImageView of variable size (width and height). I need resize the pictures load with Picasso to the max width of layout and a variable height given by ...
0 votes
1 answer
77 views

Adapter with Picasso

I'm trying to use Picasso to get images from Url and put inside an Adapter. I have to send the image as a parameter to the funcion imageSlider inside the my SliderViewHolder. Can someone explain me ...
1 vote
1 answer
63 views

Can't load Picasso into project

I've added the following to my application build.gradle: compile 'com.squareup.picasso:picasso:2.5.2' And when I try to use the following code, Picasso is red. It says that it cannot resolve the ...
0 votes
0 answers
43 views

How to receive path from internal storage in android and transform it into view?

I'm new to android development and I've been building an app for studies purposes that is supposed to display one of the images selected from the gallery previously in a recyclerview. private fun ...
5 votes
1 answer
11k views

Android picasso cache images

In documentation in written that picasso caches images downloaded , but i havent seen an example how to call that image again from cache. Here i first time load the image : Picasso.with(...
3 votes
7 answers
10k views

Picasso not loading image from http url but loads images from https url?

Picasso Loads the image fine if its from a https url like: https://i.ytimg.com/vi/28uUsJ72a1A/hqdefault.jpg Since youtube directs all traffic through https this works to: http://i.ytimg.com/vi/...
30 votes
5 answers
27k views

how to load bitmap directly with picasso library like following

Picasso.with(context).load("url").into(imageView); Here instead of url i want bitmap how can i achieve this. like below- Picasso.with(context).load(bitmap).into(imageView);
0 votes
0 answers
61 views

How to load Image from remote shared folder with Picasso?

I am developing an android app that needs to load many images from a shared folder that is located on my server. I can access the images easily with smbfiles NtlmPasswordAuthentication auth = new ...
17 votes
7 answers
29k views

Picasso IllegalArgumentException Target must not be null

I'm trying to set image by using Picasso library on my project. When I click image of the View,I'm getting an error on Picasso execution. Logcat of the app java.lang.IllegalArgumentException: ...
18 votes
9 answers
68k views

I/System.out: (HTTPLog)-Static: isSBSettingEnabled false?

I am getting this when using a recycle view along with Picasso library to fetch images from sound cloud. The problem is that the app freezes for few seconds sometimes. Then, I get a message of ...
3 votes
2 answers
6k views

Load multiple images with picasso - Android

I am trying to load multiple images from some urls using picasso library. So far I have tried this code: for(int i = 0; i < friends.size(); i++) { final Profile profile = friends.get(i)...
365 votes
6 answers
170k views

Picasso v/s Imageloader v/s Fresco vs Glide vs Coil [closed]

Findings: Difference between Picasso v/s ImageLoader here ... Info about the library GLIDE here ... Facebook has its own library Fresco Newest addition to the list Coil Questions: What is the ...
0 votes
0 answers
23 views

What is the best approach for accessing user image in Android

I have wanted to ask about the best approach or best practice recommended to access a user's files (images, music pdf files etc...)on android. I came across the Picasso Library, and users permission ...
0 votes
2 answers
108 views

android picasso .into(new Target() causing method error

We are using the following code to load images into notification .setLargeicon parameter in our android webview app. But unfortunately .into(new Target() { displays the following warning: Class '...
0 votes
1 answer
35 views

I have a problem with retrieving data from firebase realtime database

so basically when i retrieve a link from my real time database it adds this "{abs=" at the beginning and this "}" at the end which makes picasso unable to load the link. i tried ...
0 votes
1 answer
937 views

How to clear images loaded by Picasso on Android?

I have a BackgroundImageActivity that load background image using Picasso. But when I go back to home (onStop() called in BackgroundImageActivity) and go into another instance of this activity, which ...
0 votes
2 answers
59 views

Android Java: Error 503 when loading image from flickr with Picasso

I use Flickr to load images into my app using the Picasso library. It was working up until about 2 months ago with no issue. I have not changed anything in my code having to do with images since it ...
1 vote
2 answers
140 views

Modern way to download and caching inline images from html content inside TextView (Kotlin)

According to this question, I used the following two classes to download the images inside (HTML content <img tag), but not too efficient for some reasons, first sometimes it's not to cache all ...
0 votes
0 answers
312 views

Using placeholder in Coil when the url is null

I get some data from database and push it to reciclerview. I use Coil to show images. But there are some urls that are null and I need to use some placeholder in such cases. I tried all the option I ...
3 votes
4 answers
347 views

Kotlin: Error 503 when loading image from flickr with Picasso

My app loads images from flickr using Android's Picasso library. Curiously it was working fine sometime ago after migrating my app to Kotlin, but now I've started to have "random" 503 errors....
0 votes
2 answers
2k views

Android - Bitmap Null object reference

In my application I am downloading the image using Picasso and converting that image in to byte array.i am calling below this method to download and convert the image to byte array. private byte[] ...
0 votes
3 answers
505 views

Picasso does not load image in fragment with RecyclerView

I am trying to use Picasso to load an image in fragment and Recyclerview. But I can't load a picture. Initially I was thinking maybe it couldn't get the URL from DB but from the debug I could see the ...
1 vote
3 answers
69 views

Not able to load openweatherIcon using Picasso

I am trying to use the openweather API for my app, and when I try to load the icons, I am not able to do so for some reasons. This is my mainActivity code that I'm trying to implement so that later on ...
-1 votes
1 answer
255 views

Having troubles loading a GIF image in my application

so i was trying to load a GIF image using a link into my application, but i couldn't find how. i tried using Glide and Picasso but i still couldn't resolve my problem, at first i thought i might have ...
0 votes
1 answer
162 views

Why do i get the Kotlin.Unit error and how to fix it?

I have a function refreshPictureOfDay() in my view model which calls a retrofit service query to retrive the PictureOfDay object private val _pictureOfDay = MutableLiveData<PictureOfDay>() ...
135 votes
8 answers
45k views

onBitmapLoaded of Target object not called on first load

In my function : public void getPointMarkerFromUrl(final String url, final OnBitmapDescriptorRetrievedListener listener) { final int maxSize = context.getResources().getDimensionPixelSize(R.dimen....
0 votes
1 answer
241 views

Picasso getting error : java.lang.IllegalArgumentException: Path must not be empty

I am making online news using public API and using Picasso to load data from system. my application is running smoothly. however, the application sometimes crash with the error showing that at com....
3 votes
4 answers
5k views

TouchImageView zoom scaled to frame with Picasso

I was using Universal Image Loader library to load a set of images and TouchImageView to allow zooming. I decided to replace Universal Image Loader with picasso. Everything worked fine except now the ...
76 votes
13 answers
82k views

cannot find symbol method with() using picasso library android

i'm getting one issue in android app, I am trying to check already existing app, the app contains implementation('com.squareup.picasso:picasso:3.0.0-SNAPSHOT') { exclude group: 'com.android....
0 votes
0 answers
383 views

Having the problem java.lang.IllegalArgumentException: Path must not be empty" in Picasso

My code where it says error: // get user profile from memory getUserMobile = MemoryData.getData(Chat.this); nameTV.setText(getName); Picasso.get().load(getProfilePic).into(...

1
2 3 4 5
51