public async void getSchedule() { try { ParseQuery<ParseObject> query = ParseObject.GetQuery("Schedule"); List<SHEvent> events = new List<SHEvent>(); SHEvent e; foreach (ParseObject obj in await query.FindAsync()) { e = new SHEvent(); e.EventTime = ((DateTime)obj["eventTime"]).ToLocalTime(); e.Title = obj["eventTitle"].ToString(); try { e.Description = obj["eventDescription"].ToString(); } catch { } try { e.Location = obj["eventLocation"].ToString(); } catch { } events.Add(e); } var groupEvents = from ev in events orderby ev.EventTime ascending group ev by ev.EventTime.Date into grouped select new HeaderGroup(grouped) { Header = grouped.Key.ToString("D") }; Events.Source = groupEvents; showLoading(); try { await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => { var item = from ev in events where ev.EventTime > DateTime.Now select ev; lsvSchedule.ScrollIntoView(item.First()); }); } catch { //spartahack is over } } catch (Exception ex) { DebuggingHelper.ShowError("Error in SchedulePage, getSchedule(): " + ex.Message); } }