@@ -0,0 +1,1358 @@
+package com.example.georgekaraolanis.project9_habittracker.data;%0A%0Aimport android.provider.BaseColumns;%0A%0Apublic final class HabitContract %7B%0A%0A    /*Empty constructor*/%0A    public HabitContract()%7B%0A%0A    %7D%0A%0A    /*Define constant values for habit database table*/%0A    public static final class HabitEntry implements BaseColumns%7B%0A%0A        /*Name of database habit table*/%0A        public final static String TABLE_NAME = %22habits%22;%0A%0A        /*ID for habits table. Is of type INTEGER*/%0A        public final static String _ID = BaseColumns._ID;%0A%0A        /*Habit name, for example medicine, workout etc. Is of type TEXT*/%0A        public final static String COLUMN_HABIT_NAME = %22name%22;%0A%0A        /*Time of day that habit is being done. Is of type TEXT*/%0A        public final static String COLUMN_HABIT_TIME = %22time%22;%0A%0A        /*Category of the habit. Is of type INTEGER. Values can be:%0A        * 0: hobby%0A        * 1: medication%0A        * 2: pet%0A        * 3: work%0A        * 4: other*/%0A        public final static String COLUMN_HABIT_CATEGORY = %22category%22;%0A%0A        /*Possible values for habit*/%0A        private static final int CATEGORY_HOBBY = 0;%0A        private static final int CATEGORY_MEDICATION = 1;%0A        private static final int CATEGORY_PET = 2;%0A        private static final int CATEGORY_WORK = 3;%0A        private static final int CATEGORY_OTHER = 4;%0A%0A    %7D%0A%0A%7D%0A

Add Contract Class