title: complex listeviewitem image load hang application problem
body: <p>I am suing Listview and customize listview to display image inside a list item.
  I want display image with every search result.</p>
  
  <p>to display complext listeim i am following the following example</p>
  
  <p><a href="http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/view/List4.html" rel="nofollow noreferrer">http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/view/List4.html</a></p>
  
  <p>inside wrapper class i am initiating new thread for every new list item's image so that i won't dealy the displaying image.</p>
  
  <p>my code is below</p>
  
  <pre><code>new Handler().post(new Runnable(){
                     @Override 
                     public void run() {
                  Drawable dImage = Util.getImageFromURL(imageURL); 
                  getImageIcon().setImageDrawable(dImage);
  
                  }
  });
  </code></pre>
  
  <p>mean 10 images initiates 10 different image loading threads other static data is not inside thread.</p>
  
  <p>problem arises when during image loading page application getting hang it should not hang.... any idea what to do ?</p>
  
  <p><a href="http://img509.imageshack.us/img509/7519/thumbnailx.jpg" rel="nofollow noreferrer">alt text http://img509.imageshack.us/img509/7519/thumbnailx.jpg</a></p>