what context are you doing this in (ie, what is "this" - a class derived
from DVC, or something else?)

what specifically is the error when it crashes?

On Sun, Feb 26, 2012 at 6:29 PM, Brett Spurrier <[email protected]>wrote:

> 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
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to