public void removeListItems(ArrayList<ObjectCommitMessageItem> s) { for (ObjectCommitMessageItem m : s) { adapter.remove(m); } }
private void updateList() { // adapter.clear(); adapter.notifyDataSetChanged(); // listview.invalidateViews(); }
public void addListItems(ArrayList<ObjectCommitMessageItem> s) { adapter.addAll(s); this.updateList(); }