We don't support showing the picker without the button first. It's an API 
we used to have but there are portability issues involved since picker acts 
very differently when running on different OSs.

On Wednesday, May 26, 2021 at 7:46:22 PM UTC+3 javier...@gmail.com wrote:

> 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 <wedis...@gmail.com> 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 codenameone-discu...@googlegroups.com.
>> 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 codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/8db11869-ecda-41c5-8fc2-bc4d6c0ba17fn%40googlegroups.com.

Reply via email to