I am using Rg.Plugins.Popup for a simple confirmation popup before deleting an item from the list like "Are you sure you want to delete Item1 from the list?".
I need to know how to pause the deleting method till it gets the confirmation from the popup.
private async void MenuItem_Clicked_1(object sender, EventArgs e)
{
var menuItem = sender as MenuItem;
var item= menuItem.CommandParameter as Item;
var page = new popupAlert(item);
await Navigation.PushPopupAsync(page);
// Pause here
myList.remove(item);
}