Example #1
0
        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);
        }
Example #2
0
        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);
        }