listData.add(listItem);
// Re-select the item, and make sure it's visible
index = listData.indexOf(listItem);
listView.setSelectedIndex(index);
listView.scrollAreaToVisible(listView.getItemBounds(index));
}
}
public void cancel() {
if (!isEditing()) {