Please tell me how best to upload images (from files) to ListView (ListItem custom with ImageView). If you wait until everything is loaded, it works slowly. If you run Threads, there are some strange artifacts (the pictures are not in order). Maybe someone has experience and can advise, in which direction at least to think about this issue?



    2 answers 2

    Lazy load of images in Android . Try it yourself used, very useful and works as it should.

      1. distract the user with the download wheel
      2. upload pictures in stream
      3. check if necessary, sequence or load sequentially
      4. display

      if you need to load dynamically - then the proxy template + lazy loading, and in the adroid, they have already been implemented by some wits