Refresh Parameters

Apr 28, 2011 at 4:28 PM

I'm really enjoying working with AgFx. Thanks so much for creating it. I've got initial loading working fine, but when I try to refresh, I can't compile. It seems from the documentation that my line:

DataManager.Current.Refresh<DrinkTrackerMainViewModel>("currentuser");

that should be fine, ya? But I get a compile error:

No overload for method 'Refresh' takes 1 arguments
Coordinator
Apr 28, 2011 at 6:53 PM

Hi Ken -

Yeah, Refresh doesn't have a single parameter version.  A bit of inconsistency on my part I can address.

In the meantime:

DataManager.Current.Refresh<DrinkTrackerMainViewModel>("currentuser", null, null);

Will get you there.

May 4, 2011 at 6:21 PM

Thanks Shawn,

This worked.