Hi all,

I have a DialogViewController which I am trying to implement the
Pull-to-Refresh functions.
However, everytime I add the line:

this.RefreshRequested += delegate {
   NSTimer.CreateScheduledTimer (1, delegate {
       this.ReloadComplete();
   } );
} ;

it crashes.

I've been trying to follow the example at:
https://github.com/migueldeicaza/MonoTouch.Dialog/blob/master/Sample/DemoRefresh.cs

which works when I run the sample project. But when I try to move the logi
to my own app, it crashes.
The Table displays just fine. It's only when I add the RefreshRequested
handler that it crashes.

Does anyone have any experience with this?

Many thanks!
Brett
_______________________________________________
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to