title: android ArrayAdapter items update
body: <p>I have ArrayAdapter with this items structure:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout ... &gt;
  
           &lt;TextView
               android:id="@+id/itemTextView"
               ... /&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>And add this adapter so:</p>
  
  <pre><code>mAdapter = new ArrayAdapter&lt;String&gt;(this, R.layout.item, 
                                              R.id.itemTextView, itemsText);
  </code></pre>
  
  <p>All is fine but I want to update text in adapter's items. I found a solution</p>
  
  <pre><code>mAdapter.notifyDataSetChanged();
  </code></pre>
  
  <p>but do not understand how to use it. Help please.</p>
  
  <p><strong>upd</strong>
  My code:</p>
  
  <pre><code>String[] itemsText = {"123", "345", "567"};
  ArrayAdapter&lt;String&gt; mAdapter;
  </code></pre>
  
  <p>onCreate</p>
  
  <pre><code>mAdapter = new ArrayAdapter&lt;String&gt;(this, R.layout.roomitem, 
                                                R.id.itemTextView, itemsText);
  setListAdapter(mAdapter);
  itemsText = {"789", "910", "1011"};
  </code></pre>
  
  <p>onClick</p>
  
  <pre><code>mAdapter.notifyDataSetChanged();
  //it's dont work
  </code></pre>