I can get the CoreDispatcher
object in windows 8 as
CoreDispatcher dispatcher = Windows.UI.Core.CoreWindow.GetForCurrentThread().Dispatcher;
But how can I get the Dispatcher
in windows phone 8
So that I can call
Dispatcher.BeginInvoke(delegate
{
//My statements
});
Use Deployment.Current.Dispatcher
to get the Dispatcher
object in Windows Phone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With