xunice / libs-for-android

Automatically exported from code.google.com/p/libs-for-android
Apache License 2.0
0 stars 0 forks source link

Make ImageLoader work with drawables #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be great if ImageLoader could work with a drawable in the same way it 
works with ImageViews. 

This would allow it to be used with the Html.ImageGetter interface which is 
used by the Html.fromHtml() method to render inline images and is currently 
pretty difficult to use with remote images.

I imagine it would involve creating some sort of delayedLoadDrawable which 
could then be passed to the ImageLoader to bind asynchronously and returned 
from ImageGetter.getDrawable(). Once the ImageLoader retrieves the image it 
could then update the drawable.

Original issue reported on code.google.com by rupert.b...@guardian.co.uk on 16 Jun 2011 at 8:31

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/libs-for-android/wiki/HtmlWidget

Would this work?

Original comment by pbald...@google.com on 16 Jun 2011 at 1:17

GoogleCodeExporter commented 9 years ago
I will give it a go and see.

Original comment by rupert.b...@guardian.co.uk on 16 Jun 2011 at 4:05

GoogleCodeExporter commented 9 years ago
I'd recommend taking a peek at the demo app:
http://code.google.com/p/libs-for-android/source/browse/#svn%2Ftrunk%2Fdemos%2Fh
tml

Original comment by pbald...@google.com on 16 Jun 2011 at 5:59

GoogleCodeExporter commented 9 years ago

Original comment by pbald...@google.com on 31 Jul 2011 at 1:55