I have been asked a question: There is big data need to be updated in UI and the big data updating will take a while and the same time users try to type in text in textbox. How to you ensure that user input have the highest priority over big data field update?
In code behind, one of solution would be using Dispatcher with a specific priority. This allows for both ordering of items by priority and deferring certain types of work until the system has time to handle them. (For example, some work items can be deferred until the system or application is idle.) .
In WPF and MVVM design pattern, I wonder how do we achieve that goal? When UI is idle, VM callOnPropertyChanged ("big data"). However, since the VM does not know about UI status, how VM detect UI is idle?
Does anyone know to how tothis case in MVVM? Thx!
JaneC