I am developing project in which i have to download some images from server. I have tried these 3 methods.
Picasso:
Picasso.with(context).load(image).into(holder.image);
Glide:
Glide.with(context).load(image).into(holder.image);
Volley:
imageLoader.get(image, new ImageLoader.ImageListener() {
@Override
public void onResponse(ImageLoader.ImageContainer response, boolean isImmediate) {
holder.image.setImageBitmap(response.getBitmap());
}
@Override
public void onErrorResponse(VolleyError error) {
}
});
No doubt, all these methods are working very well in fast Internet connection. but in 2G It takes too much time to download image of 20kb - 25kb. I also have tried image resizing and everything. But doesn't get good result from that. I saw application like Amazon or Flipkart or any e-commerce application these apps are working very well in slow internet connection and dowanloads all images in good resolution also. So, I want some expert solutions on these problem.