Exemple #1
0
        protected override Task TryActivateAsync()
        {
            SpiderSolitaireOpeningViewModel model = (SpiderSolitaireOpeningViewModel)BindingContext;

            _picker.LoadLists(model.LevelPicker);
            return(Task.CompletedTask);
        }
Exemple #2
0
        Task IUIView.TryActivateAsync()
        {
            SpiderSolitaireOpeningViewModel model = (SpiderSolitaireOpeningViewModel)DataContext;

            _picker.LoadLists(model.LevelPicker);
            return(Task.CompletedTask);
        }