Open jsfan3 opened 5 years ago
About the issue 2 (selecting a duration that is not a multiple of 5m on an iOS native picker) the solution is to use the API https://www.codenameone.com/javadoc/com/codename1/ui/spinner/Picker.html#setMinuteStep-int- I didn't noted that.
I noted three issues in the current implementation of the duration picker (regardless of the RFE https://github.com/codenameone/CodenameOne/issues/2832).
Test case, tested on iOS:
Screenshot of the native picker Issue 1: it doesn't allow to select 0h 0m, while the lightweight picker allows it Issue 2: it doesn't allow to select a duration that is not a multiple of 5m, for example 3m![2E8F7911-AF2A-4216-A389-46B22FDD1492](https://user-images.githubusercontent.com/1997316/59333122-011d8280-8cf8-11e9-81cd-e7f717b60d8c.PNG)
Screenshot of the lightweight picker Issue 3: it doesn't allow to select 0h 59m![0C5C794E-6502-4F4B-BA6D-0C89386F6963](https://user-images.githubusercontent.com/1997316/59333191-1b576080-8cf8-11e9-8dab-68a3353cae2c.PNG)
Thank you for your support