title: Remove Items from list?
body: <p>I have a listview with an adapter attached to it and an arraylist:</p>
  
  <pre><code>   contactArrayList= new ArrayList&lt;String&gt;();
          listview = (ListView) findViewById(R.id.listView);
  
          arrayAdapter = new ArrayAdapter (this, android.R.layout.simple_list_item_1, contactArrayList);
          listview.setAdapter(arrayAdapter);
  </code></pre>
  
  <p>My listview always contains the contents of my arraylist, because after modifying the arraylist, I always call             <code>arrayAdapter.notifyDataSetChanged();</code>. Now, how can I let the user remove a value from the ListView, and also remove it from my array? I know how to let the user delete an item from a listview, but now I want to remove the String that coresponds to that item in my ArrayList as well. How can I do that?</p>