1. If you don't already have an Android project, create an Android project.
2. Add Action Item on ListView Item Click.
3. Open MainActivity.java and add the below bolded line
myListView.setOnItemClickListener(new OnItemClickListener() {
@Override public void onItemClick(AdapterView<?> parent, android.view.View view, int position, long id) {
MyList.remove(position);
}
});
4. Compile and run!
5. This above will delete the item from the list, but will not refresh the ListView. To Refresh the ListView see, Update ListView after Deleting Item from List.