Esempio n. 1
0
 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();
 }
Esempio n. 2
0
 private void MarkerList_ItemLongPress(object sender, ItemListLongPressEventArgs e)
 {
 }