示例#1
0
        protected override async Task NavigateToFirstViewModel(object hint = null)
        {
            // https://github.com/MvvmCross/MvvmCross/blob/bdaa09299714d94cf3f2c548a465d994c20d52f0/docs/_documentation/advanced/customizing-appstart.md

            // login things
            if (_state.HasConfiguration())
            //if (_state.Pin?.Length == ExampleConstants.PinRequirements.Length)
            {
                await NavigationService.Navigate <PinLoginViewModel>();
            }
            else
            {
                await NavigationService.Navigate <LoginViewModel>();
            }
        }