[mono-android] TaskScheduler.FromCurrentSynchronizationContext()

andi andi.falk at gmx.de
Mon Nov 14 07:51:01 EST 2011


Hi folks,

I am trying to use the the SynchronizationContext in order to synchronize
background threads with the UI thread. There are a couple of similar
examples (cf. 
http://reedcopsey.com/2009/11/17/synchronizing-net-4-tasks-with-the-ui-thread/
link ) like this working with WPF and Winforms (here I use m4a):



Unfortunately, it does not work. The actions, which have to run on the UI
thread running on background threads and the button text is not updated.

Have anyone an idea?

Best
andi

--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/TaskScheduler-FromCurrentSynchronizationContext-tp4990662p4990662.html
Sent from the Mono for Android mailing list archive at Nabble.com.


More information about the Monodroid mailing list