Exemplo n.º 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() + "%");
  }
Exemplo n.º 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));
  }
Exemplo n.º 3
0
 public void run() {
   NoteField noteField = (NoteField) getLeafFieldWithFocus();
   task.deleteNote(noteField.note);
   notes.delete(noteField);
   com.zavitz.mytasks.functions.PersistentUtils.save();
 }