예제 #1
0
        private void ScheduleReminder()
        {
            var title = "Returning Stella";
            var body  = "Remember to return Stella before 12.00";
            var timeStampForReminder = DateTime.Now.AddSeconds(10);

            _localNotificationService.ScheduleNotification(title, body, ReminderNotificationId, timeStampForReminder);
        }
예제 #2
0
 public void AddItem(CheckListItem item)
 {
     _repository.Add(item);
     _notification.ScheduleNotification(item);
     _messenger.Publish(new DataChangeMessage(this));
 }