Use asyncTask to load images
<p>i m loading images from rss description using</p>

<pre><code>String description2 = des.get(position).toString();

       Spanned description = Html.fromHtml(description2, new ImageGetter() {
            @Override
         public Drawable getDrawable(String source) {                  
            Drawable d = null;
            try {
                        InputStream src = imageFetch(source);
                        d = Drawable.createFromStream(src, "src");
                        if(d != null){
        d.setBounds(0,0,d.getIntrinsicWidth(),
        d.getIntrinsicHeight());
                        }
        } catch (MalformedURLException e) {
                  e.printStackTrace(); 
            } catch (IOException e) {
                  e.printStackTrace();  
            }

        return d;
        }

            public InputStream imageFetch(String source)
                    throws MalformedURLException,IOException {
        URL url = new URL(source);
        Object o = url.getContent();
        InputStream content = (InputStream)o;
        // add delay here (see comment at the end)     
        return content;
        }

        },null);
</code></pre>

<p>How can i put them into an AsyncTask,in order to get a progress bar until the images download? Thanks!</p>
