Commit Graph

38 Commits

Author SHA1 Message Date
Phillip Hsu
058d6c86b7 Created AlarmController class and moved relevant AlarmUtils code 2016-07-11 02:28:20 -07:00
Phillip Hsu
08e12cd14f Scheduling alarm via AlarmUtils no longer shows Toast confirmation for you 2016-07-09 23:46:05 -07:00
Phillip Hsu
1843c7222a Fixed AlarmViewHolder dismiss button action 2016-07-09 02:46:22 -07:00
Phillip Hsu
20b5ff2d8a AlarmViewHolder hides dismiss button if recurring and upcoming alarm dismissed via notification 2016-07-08 19:31:03 -07:00
Phillip Hsu
9380f8f579 UpcomingAlarmReceiver and PendingAlarmScheduler load alarm in background 2016-07-07 03:18:03 -07:00
Phillip Hsu
4eb27df911 AsyncItemChangeHandler now checks if alarm is enabled before scheduling it 2016-07-07 01:18:52 -07:00
Phillip Hsu
3a86aaf3ba Update and delete alarms now async 2016-07-07 00:30:45 -07:00
Phillip Hsu
4d2ef227b6 Alarm adding moved back to onActivityResult 2016-07-06 03:42:45 -07:00
Phillip Hsu
cf46160b1e Local broadcast receiver used as observer in loader 2016-07-06 00:40:52 -07:00
Phillip Hsu
9fb4727051 Item animations working 2016-07-05 17:00:57 -07:00
Phillip Hsu
4eec10f86a Wrote Loader for List of Alarms 2016-07-03 03:49:48 -07:00
Phillip Hsu
b1657c221e Background loading of single Alarm in relevant components, added queryEnabledAlarms() in database helper 2016-07-01 03:40:27 -07:00
Phillip Hsu
5f138f2756 Implement Parcelable for Alarm, snackbar undo working when deleted 2016-06-30 16:21:21 -07:00
Phillip Hsu
31385ad9b4 Snackbar shows when alarm is deleted 2016-06-30 03:22:25 -07:00
Phillip Hsu
d042891e51 Result from EditAlarmActivity returns to AlarmsFragment and the list is updated correctly 2016-06-29 21:26:26 -07:00
Phillip Hsu
7d0718387f Use loader to query for a cursor for the list adapter 2016-06-29 04:01:46 -07:00
Phillip Hsu
11c4be68b9 Removed usages of AlarmRepository 2016-06-28 02:44:27 -07:00
Phillip Hsu
a1c72f8ef9 Tables set up, JSON implementations deprecated 2016-06-26 15:31:54 -07:00
Phillip Hsu
c37e9438cf Recurring alarms working 2016-06-13 03:11:06 -07:00
Phillip Hsu
b6260c3fb7 Before trying new id related stuff 2016-06-11 13:33:30 -07:00
Phillip Hsu
55836799da Changed where and when we save alarms 2016-06-09 12:36:06 -07:00
Phillip Hsu
8dc71ae34b Lots of changes 2016-06-08 12:44:12 -07:00
Phillip Hsu
e2449bb11e More callback events added to AlarmVH. Toast message confirmation when upcoming alarm is dismissed. 2016-06-08 01:54:06 -07:00
Phillip Hsu
abdb939ada More Alarm utility methods for cancelling and scheduling 2016-06-07 17:35:50 -07:00
Phillip Hsu
5eb52ee510 Fixed binding of dismiss button in AlarmVH when cancelling snoozed alarm 2016-06-07 13:43:00 -07:00
Phillip Hsu
9f151fa9cc Imported Alarm countdown text 2016-06-07 13:16:53 -07:00
Phillip Hsu
dca0a258f8 Alarm Ppreferences applied to code 2016-06-07 02:03:05 -07:00
Phillip Hsu
c4cd333cf7 Split onBind() of AlarmViewHolder into multiple discrete method calls 2016-06-06 19:19:06 -07:00
Phillip Hsu
2f5eff6842 Deleting alarm works 2016-06-02 00:12:59 -07:00
Phillip Hsu
aba3b534a1 DaysOfWeek finished 2016-06-01 21:03:07 -07:00
Phillip Hsu
4de02ed353 Fixed recurrence mapping bug 2016-06-01 17:23:35 -07:00
Phillip Hsu
affab12f75 Commit before bug fixing of alarm recurrence and DaysOfWeek 2016-06-01 15:29:09 -07:00
Phillip Hsu
e80596060b Repository created 2016-05-31 19:39:00 -07:00
Phillip Hsu
454a84ca72 BaseVH and BaseAdapter finished 2016-05-31 15:33:33 -07:00
Phillip Hsu
402255b4a0 Starting to write BaseVH and BaseAdapter 2016-05-31 02:01:01 -07:00
Phillip Hsu
2ad3cca872 Changed recurring days array in Alarm to have no actual concept of which week days are recurring or not, just that a position in the week recurs or not. 2016-05-31 01:12:46 -07:00
Phillip Hsu
ba41c1311e Created DaysOfWeek class 2016-05-31 00:29:15 -07:00
Phillip Hsu
37e7d3dd3b Setup RingtoneService 2016-05-28 18:44:51 -07:00