void SelectNote(Note note) { ClientState.Current.ViewController.SelectedPlugin = Plugin; State.SelectedNotes.Replace(new[] { note }); NotesListView.ScrollIntoView(State.SelectedNote); OnSelectedNoteChanged(); }
void SelectNotes(IEnumerable notes) { ClientState.Current.ViewController.SelectedPlugin = Plugin; State.SelectedNotes.ReplaceWithCast(notes); NotesListView.ScrollIntoView(State.SelectedNote); OnSelectedNoteChanged(); }