title: Calling notifyDataSetChanged on a ListAdapter
body: <p>I have a <code>ListAdapter</code> as shown below: </p>
  
  <pre><code>setListAdapter(new ArrayAdapter&lt;String&gt;(DeleteMenu.this,             
                                    android.R.layout.simple_list_item_1, 
                                    classes));
  </code></pre>
  
  <p>I am trying to call <code>notifyDataSetChanged()</code> on it within an <code>onListItemClick()</code> function. I've tried a few different ways and looked at similar questions here on StackOverFlow but I still can't figure it out.</p>
  
  <p>Can someone please help?</p>
  
  <p>Edit: I should be more clear, I'm not getting an error, I simply don't know what to call the function <code>notifyDataSetChanged()</code> method on. Do I have to assign my <code>ListAdapter</code> to a variable and call it like <code>var.notifyDataSetChanged()</code>?</p>