Fixed a task adapter bug when requerying on background thread

pull/14/head
Sam Bosley 13 years ago
parent b3f4d13902
commit 884636f872

@ -958,7 +958,7 @@ public class TaskListFragment extends ListFragment implements OnScrollListener,
loadTaskListContent(true);
}
protected Property<?>[] taskProperties() {
public Property<?>[] taskProperties() {
return TaskAdapter.PROPERTIES;
}

@ -275,7 +275,7 @@ public class TaskAdapter extends CursorAdapter implements Filterable {
// perform query
TodorooCursor<Task> newCursor = taskService.fetchFiltered(
query.get(), constraint, TaskAdapter.PROPERTIES);
query.get(), constraint, fragment.taskProperties());
return newCursor;
}

Loading…
Cancel
Save