Android ListAdapter Repaint

Posted by xger86x on Stack Overflow See other posts from Stack Overflow or by xger86x
Published on 2010-03-22T12:24:19Z Indexed on 2010/03/22 13:41 UTC
Read the original article Hit count: 414

Filed under:
|

Hi,

i have the following problem. I fill a ListView with a custom ArrayAdapter with data from a BD. However, in background, i'm updating those datas from the info provided by an API, so the idea is when the update finish, the adapter shows the updated data instead its "old version".

The problem is that when i do that, i notice a lag while the adapter is updating itself. Is the any efficient solution to avoid this?

Thanks

© Stack Overflow or respective owner

Related posts about android

Related posts about listview