Update ListView in the main thread from another thread

Posted by Wilson on Stack Overflow See other posts from Stack Overflow or by Wilson
Published on 2010-05-27T09:07:55Z Indexed on 2010/05/27 9:11 UTC
Read the original article Hit count: 172

Filed under:

I have a separate thread running to get data from the internet. After that, I would like to update the ListView in the main thread by calling adapter.notifyDataSetChanged(). But it does not work. Any workaround for that? Thanks.

© Stack Overflow or respective owner

Related posts about android