Exemplo n.º 1
0
 public void LoadingEnd()
 {
     EmsApi.SetProggressIndicatorVisibility(false);
     EventList.IsEnabled         = true;
     _isEventsLoaded             = true;
     ClubSelection.isInitialized = true;
 }
Exemplo n.º 2
0
 private async Task updateClubsWithLanguage()
 {
     ClubsList.ItemsSource      = null;
     ClubsList.IsHitTestVisible = false;
     EmsApi.StartTrayLoadingAnimation();
     if (data.ClubsData != null)
     {
         data.ClubsData = await EmsApi.GetClubsData("", EmsLanguage);
     }
     EmsApi.SetProggressIndicatorVisibility(false);
     ClubsList.ItemsSource      = data.ClubsData.result;
     ClubsList.IsHitTestVisible = true;
 }
Exemplo n.º 3
0
        private async void ClubSelection_Loaded(object sender, RoutedEventArgs e)
        {
            if (!isInitialized)
            {
                SelectionStackPanel.IsHitTestVisible = false;
                SettinsCheckBoxList.IsHitTestVisible = false;
                EmsApi.StartTrayLoadingAnimation();
                if (MainPage.data.ClubsData != null)
                {
                    MainPage.data.ClubsData = await EmsApi.GetClubsData("", MainPage.EmsLanguage);
                }
                EmsApi.SetProggressIndicatorVisibility(false);

                SelectionStackPanel.IsHitTestVisible = true;
                SettinsCheckBoxList.IsHitTestVisible = true;
                isInitialized = true;
            }

            DataContext = MainPage.data;
        }