public async void ResetPassword() { if (await Popups.ConfirmAsync(Resources.SimulatorCoreResources.UnlockPassword_ResetPassword_Title, Resources.SimulatorCoreResources.UnlockPassword_ResetPassword_Prompt)) { await ViewModelNavigation.NavigateAndPickAsync <SetStoragePasswordViewModel>(this, StorageUnlocked, CancelCredentialsEntry); } }
public async override void EHPickerTapped(string fieldName) { if (fieldName == nameof(Model.DeviceType)) { await ViewModelNavigation.NavigateAndPickAsync <DeviceTypePickerViewModel>(this, DeviceTypePicked); } }
public async void UnlockStorageAndGetAccessKey() { if (!SecureStorage.IsSetup) { await ViewModelNavigation.NavigateAndPickAsync <SetStoragePasswordViewModel>(this, StorageUnlocked, CancelCredentialsEntry); } else { await ViewModelNavigation.NavigateAndPickAsync <UnlockStorageViewModel>(this, StorageUnlocked, CancelCredentialsEntry); } }
public async void SelectDeviceType() { await ViewModelNavigation.NavigateAndPickAsync <DeviceTypePickerViewModel>(this, DeviceTypePicked); }
public async void PromptForAccessKey() { await ViewModelNavigation.NavigateAndPickAsync <PasswordEntryViewModel>(this, SetAccessKey, CancelCredentialsEntry); }
public void SetLocation() { ViewModelNavigation.NavigateAndPickAsync <DeviceMapViewModel>(this, (location) => { }); }