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

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -