private void Initialize_Core() { //Generate collection of Notes Animate = true; Instructions = "Loading your notes"; Task.Run(() => { this.Notes.Clear(); var notes = _notesManager.Get_NotesByContactID <Notes>(Constants.InMemory_ContactID); if (notes.Count != 0) { foreach (var note in notes) { var obj = new NotesCellViewModel(note, navigation, dialogue); //Subscriptions obj._DeleteContent += RemoveNote_FromCollection; this.Notes.Add(obj); } } this.Notes.CollectionChanged += Notes_CollectionChanged; }).ContinueWith((e) => { Device.BeginInvokeOnMainThread(() => { ReloadData = true; Animate = false; }); }); }