Ejemplo n.º 1
0
        private async void LoadCollection()
        {
            Collection = await _databaseConnector.GetEvents() ?? new List <Event>();

            CollectionChanged?.Invoke();
            foreach (Event item in Collection.Where(el => el.Mounth == ((Mounths)DateTime.Now.Month - 1)))
            {
                CrossLocalNotifications.Current.Show("Notification", item.Description, item.Id, item.DateTime);
            }
        }