Ejemplo n.º 1
0
        private async Task updateEventsWithLanguage()
        {
            EventList.ItemsSource = null;
            data.EventsData       = await EmsApi.GetEventsInfo("", EmsLanguage);

            EventList.ItemsSource = data.EventsData.result;
            EmsApi.prettyDisplayDates(data.EventsData.result);
        }
Ejemplo n.º 2
0
        private async Task initApplication()
        {
            data.ClubIdIsCheked = EmsApi.GetClubsIdIsChecked();
            data.CalendarData   = EmsApi.GetCalendarData();
            resetCalendar();
            data.ClubsData = await EmsApi.GetClubsData("", EmsLanguage);

            data.EventsData = await EmsApi.GetEventsInfo("", EmsLanguage);

            data.HomeLinks = await EmsApi.GetHomeLinks();

            DataContext = data;

            EmsApi.prettyDisplayDates(data.EventsData.result);
        }