The root problem is that ListView ignores my setSelection() call if
notifyDataSetChange is called before it has a chance to redraw. This can happen
when Agenda view starts up and fires off multiple queries.
Change-Id: I30c382432961dbf2d7788723343764b51a665657
return;
}
- // Query for 2 days before the start day for a total of MIN_QUERY_DURATION days
- startDay -= 2;
+ // Query for a total of MIN_QUERY_DURATION days
int endDay = startDay + MIN_QUERY_DURATION;
queueQuery(startDay, endDay, goToTime, QUERY_TYPE_CLEAN);