Hi, I have been trying to figure out a question of mine regarding: https://github.com/brminnick/HackerNews/blob/aaad2453ea329005a5e50b1ec5cdaba350b8dc7b/src/HackerNews/ViewModels/NewsViewModel.cs#L76-L106 Basically, my question is: Is it OK to use `ConfigureAwait(false)` here: https://github.com/brminnick/HackerNews/blob/aaad2453ea329005a5e50b1ec5cdaba350b8dc7b/src/HackerNews/ViewModels/NewsViewModel.cs#L78 ? The reason I'm asking is that `IsListRefreshing` is not necessarily set on the UI thread: https://github.com/brminnick/HackerNews/blob/aaad2453ea329005a5e50b1ec5cdaba350b8dc7b/src/HackerNews/ViewModels/NewsViewModel.cs#L104 And I wonder whether one can set view model properties (used in data bindings) on non-UI threads. Is it or is it not? Best regards!
Hi,
I have been trying to figure out a question of mine regarding:
https://github.com/brminnick/HackerNews/blob/aaad2453ea329005a5e50b1ec5cdaba350b8dc7b/src/HackerNews/ViewModels/NewsViewModel.cs#L76-L106
Basically, my question is: Is it OK to use
ConfigureAwait(false)here: https://github.com/brminnick/HackerNews/blob/aaad2453ea329005a5e50b1ec5cdaba350b8dc7b/src/HackerNews/ViewModels/NewsViewModel.cs#L78?
The reason I'm asking is that
IsListRefreshingis not necessarily set on the UI thread:https://github.com/brminnick/HackerNews/blob/aaad2453ea329005a5e50b1ec5cdaba350b8dc7b/src/HackerNews/ViewModels/NewsViewModel.cs#L104
And I wonder whether one can set view model properties (used in data bindings) on non-UI threads. Is it or is it not?
Best regards!