Exemplo n.º 1
0
        private async void FilterTrigger(object sender, EventArgs e)
        {
            filterTriggerTimer.Stop();
            string filterText = settingFilterText;

            FilterText = filterText;

            Log.Debug($"Filter triggered for: {FilterText}");

            CommitPosition commitPosition = TryGetSelectedCommitPosition();

            using (progress.ShowBusy())
            {
                await viewModelService.SetFilterAsync(this, filterText);
            }

            TrySetSelectedCommitPosition(commitPosition, true);
            CommitDetailsViewModel.NotifyAll();

            VirtualItemsSource.DataChanged(width);
        }