Question

1.I am using Universal Image loader in my android app to load images from network.It is giving problems sometimes when i scroll my list of images in list view.Is there any other alternative for this.? 2.Other thing is in the same app i have to upload images and save them in network. i am compressing images sizes because i need four images side by side like a grid view in one screen.But the images which are uploaded lost their quality. this was a great concern in my app.I think my problem happened while compressing them. how to achieve both quality and compressing ?

i went through this Universal Image loader not working properly with android spinner. any help

Was it helpful?

Solution

Square's Picasso library is by far the best library for this, and in particular handles ListView fantastically.

https://github.com/square/picasso

You can also downsample your images when displaying them, without actually modifying the underlying image. (Just reduce how much memory you use to show it.)

I believe Picasso does some of this for you, but if you want more control, check out:

Handling large Bitmaps

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top