As a prototype, I\'m trying to modify the android-imagedownloader demo from the Android Developers Blog to work with HTML image tags rather than hard-coded ImageViews
I'm going to abandon my original idea of using HTML TextView
to render my images since I don't think it will be a problem to limit the layout to a single image per TextView
. For those who still really want to do this, this answer should guide you to the right solution. You'd have to pass the TextView
to the BitmapDownloaderTask
and in onPostExecute
call setText
again but with the newly downloaded or "decached" image.
It might also be necessary to force an update of the row in the ListView
per Romain Guy's guidance.