title: How to use notifyDataSetChanged() in thread
body: <p>I create a thread to update my data and try to do <code>notifyDataSetChanged</code> at my ListView.</p>
  
  <pre><code>private class ReceiverThread extends Thread {
  
  @Override
  public void run() { 
      //up-to-date
      mAdapter.notifyDataSetChanged();
  }
  </code></pre>
  
  <p>The error occurs at line:</p>
  
  <pre><code>mAdapter.notifyDataSetChanged();
  </code></pre>
  
  <p><strong>Error</strong>:</p>
  
  <blockquote>
    <p>12-29 16:44:39.946: E/AndroidRuntime(9026): android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.</p>
  </blockquote>
  
  <p>How should I modify it?</p>