[mono-android] Events for date and time picker
Paul F. Johnson
paul at all-the-johnsons.co.uk
Sat Nov 19 20:38:42 EST 2011
Hi,
My date and time pickers are non-modal (they are part of the layout).
AIUI, for modals, a listener has to be set (as per the examples). As
these are not modals, I'm trying to use the bog standard form
DatePicker dp // define it from a resource
dp.Click += new EventHandler(dateChanged);
Unfortunately, this doesn't fire the method dateChanged and also doesn't
take any <DatePicker.DateChangedEventHandler> style parameters.
Should I still be using a listener and if so, how? The example is for a
dialog box to appear (which I'm not after)
Thanks
Paul
--
Vertraue mir, ich weiss, was ich mache...
More information about the Monodroid
mailing list