private async void InitializePage() { _dialogService.ShowLoading("Loading..."); var pricings = await customerDataService.MyRecentTransactions(_settingsService.UserNameSetting); if (pricings != null) { Sales = pricings.ToObservableCollection(); listViewCtrl.ItemsSource = Sales; _dialogService.HideLoading(); } else { _dialogService.HideLoading(); await _dialogService.ShowDialog("Not found", "Customer information does not exist.", "Ok"); } }