I have a listview with some thumbnail and I have followed this tutorial to increase his performance. http://android-developers.blogspot.it/2010/07/multithreading-for-performance.html
The performance is much increased, but now I would try to make more beautiful to see In particular I would show a placeholder until the async task will have finished to download the image.
This is my current drawable :
static class DownloadedDrawable extends ColorDrawable {
    private final WeakReference<BitmapDownloaderTask> bitmapDownloaderTaskReference;
    public DownloadedDrawable(BitmapDownloaderTask bitmapDownloaderTask) {
        super(Color.BLACK);
        bitmapDownloaderTaskReference =
            new WeakReference<BitmapDownloaderTask>(bitmapDownloaderTask);
    }
    public BitmapDownloaderTask getBitmapDownloaderTask() {
        return bitmapDownloaderTaskReference.get();
    }
     }
which will result in the ImageView displaying a black background while its download is in progress.
But now instead a black image I want to show a png placeholder that I have in drawable resources. In which way I can edit my code to reach the goal ?
Thanks to all :)
