return loading;
}
public interface OnUpdateCompleteListener {
void onUpdateComplete();
}
<BUG>public Promise<List<Lesson>, Void, Void> getLessonsForWeek(LocalDate weekStart) {
</BUG>
List<Lesson> cached = MainApplication.getData()
.select(Lesson.class)
.where(LessonType.DATE.gte(weekStart))

return loading;
}
public interface OnUpdateCompleteListener {
void onUpdateComplete();
}
public Promise<List<Lesson>, Throwable, Void> getLessonsForWeek(LocalDate weekStart) {
List<Lesson> cached = MainApplication.getData()
.select(Lesson.class)
.where(LessonType.DATE.gte(weekStart))
