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); }
public void AddItem(CheckListItem item) { _repository.Add(item); _notification.ScheduleNotification(item); _messenger.Publish(new DataChangeMessage(this)); }