Exemplo n.º 1
0
        private void ShowStopsList()
        {
            LoaderVisibility     = Visibility.Collapsed;
            StopListVisibility   = Visibility.Visible;
            SearchListVisibility = Visibility.Collapsed;

            if (Stations.Count() == 0)
            {
                NoResultsVisibility = Visibility.Visible;
                StopListVisibility  = Visibility.Collapsed;
            }
            else
            {
                StopListVisibility  = Visibility.Visible;
                NoResultsVisibility = Visibility.Collapsed;
            }
        }