private void TaskList_ItemLongPress(object sender, ItemListLongPressEventArgs e) { (new AlertDialog.Builder(this.Activity)) .SetTitle("Delete this item from the list?") .SetMessage("Press ok to delete the item") .SetPositiveButton("Delete", (s, ea) => { TodoItem item = e.Item as TodoItem; DeleteTodoItem(item); }) .SetNegativeButton("No!", (s, ea) => { // Do Nothing! }) .Show(); }
private void MarkerList_ItemLongPress(object sender, ItemListLongPressEventArgs e) { }