android - loading of 1000 images effectively from network to GridView -


in application have show many images (say >1000).

all these images comes network. now, downloading images , passing them adapter set gridview.

my problem downloading images @ once occupies lot of runtime memory. want change design.

is there way handle images/bitmaps in large number effectively? downloading 100 images, again 100 erasing previous 100 (as per need).

you can try these optimisations:

  • decrease number of images, really need 100 in 1 go?
  • download image thumbnails, really need full-sized non-compressed images?
  • cache next images, pre-load images before user asks them
  • profile app, see time consumed
  • use several threads, @ least 1 pulling data , 1 ui

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -