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
Brett,
short answer: attach the handler in the ctor.
TL;DR
the code at DialogViewController.cs line 63 is this (MonoTouch.Dialog
source is on github https://github.com/migueldeicaza/MonoTouch.Dialog/):
if (tableView != null)
throw new ArgumentException (You should set the handler before the