multithreading - WP7 App Updating observable collections from service & updating UI -


hi im making app trackers other users movements , uploads own

i'm downloading collections service repeatably

i want assigning data collections on phone doing stuff these collections(such triangulation of proximity) , calling these locations update map..

whats best way go doing this, avoid conflicts access observable collections ?

by avoiding conflicts presume mean threading issues? if case, make sure use dispatcher move work updates ui onto ui thread:

dispatcher.begininvoke(() => {   myobservablecollection.add(mydataitem); }); 

you can obtain reference dispatcher ui control


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -