Laggy Listview With Imageview And Executor Framework
I have a ListView with custom items, like this one: The grey square is an ImageView. The data to fill the ListView comes from a database in the form of a Cursor. But the images ar
Solution 1:
Ok, originally I get the images from a Web Service, and store them in the SDCard. From the samples I downloaded, I trusted the service was returning all the images with the same dimensions. WRONG! some of them are bigger than expected and were causing the lag when were set in the ImageView. I just had to scale them down. Load a Scaled Bitmap Version into Memory
Post a Comment for "Laggy Listview With Imageview And Executor Framework"