I have list of items ion my activity which I load dynamically, item after item.
Initially I load "lightweight" version and when processing is done I want to update the item with new information. Like set some text or replace an image.
That means I need to update what ListView
item is displaying after Adapter#getView
already returns. Of course I don't know if user is actively scrolling and this item is still visible or has been scrolled out ot view.
The only thing I can think of is to extend View so it performs some operations on it's own thread and updates itself when done,but will it work?
Thanks for your suggestions
views:
73answers:
1
+1
A:
This android-developers example may be helpful: http://android-developers.blogspot.com/2010/07/multithreading-for-performance.html
QRohlf
2010-08-28 00:47:53
Pure genius! This is exactly what I need, thanks @QRohjf
DroidIn.net
2010-08-28 02:56:02