Esempio n. 1
0
        private async void InitializePage()
        {
            _dialogService.ShowLoading("Loading...");
            var rchrgs = await customerDataService.MyRecentRecharges(_settingsService.UserNameSetting);

            if (rchrgs != null)
            {
                Recharge = rchrgs.ToObservableCollection();
                listViewCtrl.ItemsSource = Recharge;
                _dialogService.HideLoading();
            }
            else
            {
                _dialogService.HideLoading();
                await _dialogService.ShowDialog("Not found", "Customer information does not exist.", "Ok");
            }
        }