silverlight - Windows phone 7 How to create events to update UI -


hi i'm making app when launches makes httpwebrequest, receives xml , puts in list. code in application_launching method in app.xaml.cs . list used in listpicker on first page of app.

however because httpwebrequest executes on different thread list not populated when assign to listpickers itemsource.

i've been told should have event fires after list full , listener on first page populate list when happens. how declare event , listener?

you can use httpwebrequest , make asynccallback or use webclient class has event downloadstringcompleted. an example.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -