Not sure of the details of the service you are calling but I would assume that onPapersReceived needs to be inside an InvokeOnMainThread call.
i.e svc.GetPapers (InvokeOnMainThread(() => onPapersReceived), onErrorReceived); It may be that your service already does this. If not you need to do it yourself. Cheers, Curtis -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of davidortinau Sent: Wednesday, 11 April 2012 10:48 a.m. To: [email protected] Subject: [MonoTouch] DialogViewController displays blank until touched I'm having weirdness using DVC and was hoping someone might have seen this before. My searching here and on Stack Overflow haven't turned up any similar reports. I have an async service that returns a list which I then use Linq to add Elements to the Root (see link below). The view loads and displays an empty table...until you touch it at which point it displays the expected data. This also will happen if you navigate to a different tab and back. I've tried RefreshData() and set breakpoints to make sure methods aren't called twice unexpectedly. I also tried this with custom UITableViewCell and a custom UITableViewSource. Same result. Maybe it's my machine b/c I also have Unity installed with an older copy of MonoDevelop? If anyone has any idea what might be causing this, I've opened a SO question. Your input is MUCH appreciated. http://stackoverflow.com/questions/10093442/monotouch-dialogviewcontroller-i s-empty-until-touched -- View this message in context: http://monotouch.2284126.n4.nabble.com/DialogViewController-displays-blank-u ntil-touched-tp4547277p4547277.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
