Example #1
0
  private void changeStatus(int status) {
    task.setStatus(status);
    com.zavitz.mytasks.functions.PersistentUtils.save();

    this.status.setSelected(status);
    percent_complete.setTextQuiet(task.getPercentComplete() + "%");
  }
Example #2
0
  public void taskEdited(Task task) {
    task.updateEvent();
    com.zavitz.mytasks.functions.PersistentUtils.save();

    UiApplication.getUiApplication().popScreen(this);
    UiApplication.getUiApplication().pushScreen(new TaskScreen(task));
  }
Example #3
0
 public void run() {
   NoteField noteField = (NoteField) getLeafFieldWithFocus();
   task.deleteNote(noteField.note);
   notes.delete(noteField);
   com.zavitz.mytasks.functions.PersistentUtils.save();
 }