title: How to delete a custom listview item in android?
body: <p>I have a listview and a button in my layout file. I'am adding items to listview on click of that button. The listview should be empty when the activity is started but it should grow by adding the items to it. 
  This is my code inside onCreate() : </p>
  
  <pre><code>list  = (ListView)findViewById(R.id.inverterListView);
  adapter = new ArrayAdapter&lt;String&gt;(InverterList.this, R.layout.inverters_list_row, R.id.inverterNumberTextViewInPanelListRow);
   list.setAdapter(adapter); 
  </code></pre>
  
  <p>And here iam adding the items to listview onclick of a button.</p>
  
  <pre><code>adapter.add(inverterNo);
  adapter.notifyDataSetChanged();
  </code></pre>
  
  <p>This works fine. Can anyone guide me to delete custom listview item ? Thanks in advance.</p>