title: How often to call "notifyDataSetChanged()" when changing ArrayAdapter
body: <p>onei have an ArrayAdapter that implements the list of autocomplete proposals for an EditText field.</p>
  
  <pre><code>AutoCompleteTextView ediFrom = (AutoCompleteTextView) findViewById(R.id.ediFrom);   
  ArrayList&lt;String&gt; autoCompleteLib = new ArrayList&lt;String&gt;();
  autoCompleteFromAdapter = new AutoCompleteAdapter(this, android.R.layout.simple_dropdown_item_1line, autoCompleteLib);
  ediFrom.setAdapter(autoCompleteFromAdapter);
  </code></pre>
  
  <p>During runtime in a TimerTask (so a background thread) i'm adding elements to this list:</p>
  
  <pre><code>synchronized (lock)
  {
  autoCompleteLib.add(newAddress);
  }
  </code></pre>
  
  <p>Now i want to update the autocomplete proposals list. Is it enough / correct to call "notifyDataSetChanged()" <em>once</em> after all adding action is done, or do i have call "notifyDataSetChanged()" after each "autoCompleteLib.add" ?</p>
  
  <p>thx for your help</p>