Sorry, I dont have my code here, but you could add a element which says "loading", and keep a reference to that element somewhere. Then fire up the background thread to get the data, and finally use InvokeOnMainThread (in the other thread) to do theelement.Value = new value
this isn't MT.D specific, but it might help http://simon.nureality.ca/?p=211 On Wed, Aug 17, 2011 at 14:33, efontana <[email protected]> wrote: > Well, then what's the "Correct" way to have the ViewWillAppear perform some > long operation, like calling a WebService or something, then Populate the UI > from the results? > > > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/MonoTouch-Dialog-DialogViewController-and-Threads-tp3749886p3749981.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > -- Nic Wise t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise b. http://www.fastchicken.co.nz/ mobileAgent (for FreeAgent): get your accounts in your pocket. http://goo.gl/IuBU Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2 _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
