private void mostrarDialogoRecivir(Pedido item) { AlertDialog.Builder alert = new AlertDialog.Builder(context); alert.SetTitle("Confirmar pedido"); alert.SetMessage("Recibio su pedido?"); alert.SetPositiveButton("Pedido recibido", (senderAlert, args) => { item.Estado = "R"; repo.RecivirPedido(item); Toast.MakeText(context, "Recibido!", ToastLength.Short).Show(); context.Finish(); }); alert.SetNegativeButton("Aun no...", (senderAlert, args) => { //Toast.MakeText(context, "", ToastLength.Short).Show(); }); Dialog dialog = alert.Create(); dialog.Show(); }