예제 #1
0
        public override async void OnNavigatedTo(INavigationParameters parameters)
        {
            base.OnNavigatedTo(parameters);
            if (!HasNetworkAccess())
            {
                DisplayError(Localization.Error_Occured, Localization.Check_Connection);
                return;
            }

            if (StationInfo == null)
            {
                await AirportService.GetAirportDetails(SelectedAirport.Name, new System.Threading.CancellationToken()).ConfigureAwait(false);
            }
        }