private async void OnFilterServiceSelectedFilterChanged(object sender, EventArgs e) { using (FilteredItems.SuspendChangeNotifications()) { var filter = _filterService.SelectedFilter; var items = RawItems; var result = await _filterService.FilterCollectionAsync(filter, items); FilteredItems.ReplaceRange(result); } }