Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProgressDialog cannot update main UI thread #142

Open
MrBisquit opened this issue May 29, 2023 · 3 comments
Open

ProgressDialog cannot update main UI thread #142

MrBisquit opened this issue May 29, 2023 · 3 comments

Comments

@MrBisquit
Copy link

I'm trying to use the ProgressDialog to show what it's doing without stressing out the UI thread but it does not appear to be updating the UI thread when I use
Dispatcher.Invoke(() => { Items.Add(networkItem); Data.ItemsSource = Items; }, System.Windows.Threading.DispatcherPriority.Render); or
Application.Current.Dispatcher.Invoke(() => { Items.Add(networkItem); Data.ItemsSource = Items; }); I do not know if this is because of this NuGet package or not.

@augustoproiete
Copy link
Member

@MrBisquit Can you put together a reproducible example on a repo?

@MrBisquit
Copy link
Author

@MrBisquit Can you put together a reproducible example on a repo?

I will upload it shortly, I will give you the link once done.

@MrBisquit
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants