Example #1
0
        private async void projectsLV_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (!manuallyselected)
            {
                projectsLV.SelectedIndex = -1;
                return;
            }
            var listView = sender as ListView;

            if (listView != null)
            {
                var vsoProject = listView.SelectedItem as ItemDetails;
                if (vsoProject != null)
                {
                    Action executeAction = () =>
                    {
                        pc.Project = vsoProject.Name;
                    };

                    await ProgressBarIndicator.ExecuteActionWithProgressBar(executeAction);

                    if (Frame != null)
                    {
                        Frame.Navigate(typeof(ServiceSelectionPage));
                    }
                }
            }
        }
Example #2
0
        protected override async void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);
            SetDefaultUI();

            manuallyselected = false;
            Action executeAction = () =>
            {
                SetItemSource();
            };

            await ProgressBarIndicator.ExecuteActionWithProgressBar(executeAction);
        }