|
|
|
@ -367,6 +367,7 @@ public class TaskListFragment extends SherlockListFragment implements OnScrollLi
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onItemClick(AdapterView<?> parent, View view,
|
|
|
|
public void onItemClick(AdapterView<?> parent, View view,
|
|
|
|
int position, long id) {
|
|
|
|
int position, long id) {
|
|
|
|
|
|
|
|
if (taskAdapter != null) {
|
|
|
|
TodorooCursor<Task> cursor = (TodorooCursor<Task>)taskAdapter.getItem(position);
|
|
|
|
TodorooCursor<Task> cursor = (TodorooCursor<Task>)taskAdapter.getItem(position);
|
|
|
|
Task task = new Task(cursor);
|
|
|
|
Task task = new Task(cursor);
|
|
|
|
if(task.isDeleted())
|
|
|
|
if(task.isDeleted())
|
|
|
|
@ -374,6 +375,7 @@ public class TaskListFragment extends SherlockListFragment implements OnScrollLi
|
|
|
|
|
|
|
|
|
|
|
|
onTaskListItemClicked(id, task.isEditable());
|
|
|
|
onTaskListItemClicked(id, task.isEditable());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|