private async Task updateEventsWithLanguage() { EventList.ItemsSource = null; data.EventsData = await EmsApi.GetEventsInfo("", EmsLanguage); EventList.ItemsSource = data.EventsData.result; EmsApi.prettyDisplayDates(data.EventsData.result); }
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); }