Last active
September 16, 2016 15:01
-
-
Save simoales/88d954b4663ef21f6c84b27c3a63ee20 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static final class TodosEntry implements BaseColumns { | |
// Table name | |
public static final String TABLE_NAME = "todos"; | |
//column (field) names | |
public static final String _ID = BaseColumns._ID; | |
public static final String COLUMN_TEXT = "text"; | |
public static final String COLUMN_CREATED = "created"; | |
public static final String COLUMN_EXPIRED = "expired"; | |
public static final String COLUMN_DONE = "done"; | |
public static final String COLUMN_CATEGORY = "category"; | |
} | |
public static final class CategoriesEntry implements BaseColumns { | |
// Table name | |
public static final String TABLE_NAME = "categories"; | |
//column names | |
public static final String _ID = BaseColumns._ID; | |
public static final String COLUMN_DESCRIPTION = "description"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ToDoContract class @ Module 3