public void GetBatteryStatus() { var batteryStatus = _batteryService.GetBatteryStatus(); _pageDialog.DisplayAlertAsync("Battery Status", batteryStatus, "Ok"); _navigationService.GoBackAsync(); }
async void GetBatteryStatus() { if (string.IsNullOrEmpty(UserName)) { await navigationService.NavigateAsync(new Uri("LoginPage", UriKind.Relative)); return; } var batteryStatus = batteryService.GetBatteryStatus(); await pageDialogService.DisplayAlertAsync("Battery Status", batteryStatus, "Ok"); }
async void GetBatteryStatus() { var batteryStatus = _batteryService.GetBatteryStatus(); await _pageDialogService.DisplayAlertAsync("Battery Status", batteryStatus, "Ok"); }
async void GetBatteryStatus() { // _moduleManager.LoadModule("AuthenticationModule"); var batteryStatus = _batteryService.GetBatteryStatus(); await _pageDialogService.DisplayAlertAsync("Battery Status", batteryStatus, "Ok"); }