public static async Task <T> ShowAsync <T>(IModalSheetPageAsync <T> sheet) { UiBlockerUtility.BlockNavigation(); // UiBlockerUtility.Block(""); Show(sheet); var results = await sheet.GetResultsAsync(); Hide(sheet); UiBlockerUtility.Unblock(); return(results); }
public static async Task <T> ShowAsync <T>(IModalSheetPageAsync <T> sheet) { UiBlockerUtility.BlockNavigation(); Show(sheet); Insights.Track("Opened " + sheet.GetType().Name); var results = await sheet.GetResultsAsync(); Hide(sheet); Insights.Track("Closed " + typeof(T).Name); UiBlockerUtility.Unblock(); return(results); }