SimpleAdapter - Adding New Data to List But on Which Thread?
<p>I'm using a SimpleAdapter to populate a ListActivity. From the Google I/O video 'the world of ListView' it's made clear that the notifyDataSetChanged() method (for SimpleAdapter) MUST be called from the UI thread. But as regards updating the ArrayList in my ListActivity can that be safely done from any other thread?</p>

<p>Currently I do use a non-ui thread to update data in my ArrayList and then call notifyDataSetChanged() from the UI thread. This works fine and I can also dynamically update the SimpleAdapter too. However there is a certain aspect of my app that can cause it to crash and it happens when my ListActivity is in focus. I'm just currently exploring possible causes of the exception and it was something mentioned in the Google I/O video that left me unsure as to whether I can safely update my ArrayList from another thread.</p>
