Code example for MultiAutoCompleteTextView

Methods: getText

0
    case MENU_OPTION_COMPLETE:
      if (item.getItemId() == MENU_OPTION_SAVE && edited.isRunning()) {
        edited.setEndTime(null);
      } 
      edited.setComment(comment.getText().toString());
      edited.parseTagsFromString(tagsView.getText().toString());
      database.updateEntry(edited);
      setResult(RESULT_OK);
      finish();
      return true; 
    default: 
      return super.onMenuItemSelected(featureId, item);
    } 
  } 
 
  @Override 
  protected Dialog onCreateDialog(final int id) {
    switch (id) {
    case DIALOG_DATE_ID:
      final Calendar c = Calendar.getInstance();
      c.setTime(edited.getStartTime());