From 60f7f816c246e1aebf1b018c413e8b512c1c1e43 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Wed, 6 Feb 2013 17:51:42 -0800 Subject: [PATCH] Added a list of column names we expect to see in history, started building skeleton of real display logic --- api/src/com/todoroo/astrid/data/History.java | 24 +++++++++++ astrid/res/values/strings-updates.xml | 2 + .../todoroo/astrid/adapter/UpdateAdapter.java | 41 +++++++++++++++++++ 3 files changed, 67 insertions(+) diff --git a/api/src/com/todoroo/astrid/data/History.java b/api/src/com/todoroo/astrid/data/History.java index 5b61db80f..4b1672959 100644 --- a/api/src/com/todoroo/astrid/data/History.java +++ b/api/src/com/todoroo/astrid/data/History.java @@ -104,4 +104,28 @@ public class History extends AbstractModel { return CREATOR; } + // ---- Column ids + public static final String COL_TAG_ADDED = "tag_added"; + public static final String COL_TAG_REMOVED = "tag_removed"; + public static final String COL_SHARED_WITH = "shared_with"; + public static final String COL_UNSHARED_WITH = "unshared_with"; + public static final String COL_MEMBER_ADDED = "member_added"; + public static final String COL_MEMBER_REMOVED = "member_removed"; + public static final String COL_COMPLETED_AT = "completed_at"; + public static final String COL_DELETED_AT = "deleted_at"; + public static final String COL_IMPORTANCE = "importance"; + public static final String COL_NOTES_LENGTH = "notes_length"; + public static final String COL_PUBLIC = "public"; + public static final String COL_DUE = "due"; + public static final String COL_REPEAT = "repeat"; + public static final String COL_TASK_REPEATED = "task_repeated"; + public static final String COL_TITLE = "title"; + public static final String COL_NAME = "name"; + public static final String COL_DESCRIPTION = "description"; + public static final String COL_PICTURE_ID = "picture_id"; + public static final String COL_DEFAULT_LIST_IMAGE_ID = "default_list_image_id"; + public static final String COL_IS_SILENT = "is_silent"; + public static final String COL_IS_FAVORITE = "is_favorite"; + public static final String COL_USER_ID = "user_id"; + } diff --git a/astrid/res/values/strings-updates.xml b/astrid/res/values/strings-updates.xml index 2b3104cc2..6e8c5fc0b 100644 --- a/astrid/res/values/strings-updates.xml +++ b/astrid/res/values/strings-updates.xml @@ -17,6 +17,8 @@ %1$s on %2$s: %3$s You + this list + this task