Hi,
This should work, I think
*Form hi = new Form("Test", new BorderLayout());
Container center = new Container(BoxLayout.y());
Picker startDateTimePicker = new Picker();
startDateTimePicker.setType(Display.PICKER_TYPE_DATE_AND_TIME);
startDateTimePicker.setDate(new Date());
center.add(startDateTimePicker);
hi.add(BorderLayout.CENTER, center);
hi.show();*
On Wed, 26 May 2021 at 09:56, Emma Wedi <[email protected]> wrote:
> Hello,
> Am trying to implement ios datepicker(spinner) but it does not work but
> rather
> displays a button on which you have to tap before the picker displays in
> the form of a modal.
> Please any help on implementing ios native spinner datepicker
> Thank you
> Attached are images to demonstrate
>
> --
> You received this message because you are subscribed to the Google Groups
> "CodenameOne Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/codenameone-discussions/2b44c0b2-6667-4cb3-a13b-fa735cc64ec8n%40googlegroups.com
> <https://groups.google.com/d/msgid/codenameone-discussions/2b44c0b2-6667-4cb3-a13b-fa735cc64ec8n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/CAG90yJ0F6mgi3UXitUZtnoGhcqAEPrdW9WSrMR-ehNd2Qo%2By0A%40mail.gmail.com.