Bigkoo / Android-PickerView

This is a picker view for android , support linkage effect, timepicker and optionspicker.(时间选择器、省市区三级联动)
Apache License 2.0
13.42k stars 3.44k forks source link

关于时间选择器起始时间和结束时间 #1015

Open Yuangudashen opened 2 years ago

Yuangudashen commented 2 years ago

如何禁止选择比当前时间早的时间(精确到分秒)

Lemniscate317 commented 2 years ago

可以选范围我记得,不显示就好了

Yuangudashen commented 2 years ago

比如有需求场景要求只能选每天8-18点之间的时间(要求的格式是yyyy-MM-dd HH:mm:ss),通过日期时间选择器怎么实现呢?

whb7762300 commented 1 year ago

比如有需求场景要求只能选每天8-18点之间的时间(要求的格式是yyyy-MM-dd HH:mm:ss),通过日期时间选择器怎么实现呢?

这个需要自己把源码down下来,自己修改源码

LuckyCodeer commented 1 year ago

https://github.com/LuckyCodeer/Android-PickerView 这里已经支持时分秒的控制了

z2700589 commented 1 year ago

https://github.com/LuckyCodeer/Android-PickerView 这里已经支持时分秒的控制了

api可以提供一下吗?

LuckyCodeer commented 1 year ago

https://github.com/LuckyCodeer/Android-PickerView 这里已经支持时分秒的控制了

api可以提供一下吗?

api还是现在的api,没有变,只是增加了时分秒的控制,之前的API,看这个库的说明

zdxiang commented 1 year ago

https://github.com/LuckyCodeer/Android-PickerView 这里已经支持时分秒的控制了

有坑不?

LuckyCodeer commented 1 year ago

没有

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年10月13日(星期四) 中午11:40 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [Bigkoo/Android-PickerView] 关于时间选择器起始时间和结束时间 (Issue #1015)

https://github.com/LuckyCodeer/Android-PickerView 这里已经支持时分秒的控制了

有坑不?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

zdxiang commented 1 year ago

看到作者在其他地方回复过,说是多层嵌套,逻辑复杂。所以没做这个功能?

LuckyCodeer commented 1 year ago

是否用你还是自己决定吧

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年10月13日(星期四) 中午11:57 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [Bigkoo/Android-PickerView] 关于时间选择器起始时间和结束时间 (Issue #1015)

看到作者在其他地方回复过,说是多层嵌套,逻辑复杂。所以没做这个功能?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

zdxiang commented 1 year ago

是否用你还是自己决定吧 ------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年10月13日(星期四) 中午11:57 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [Bigkoo/Android-PickerView] 关于时间选择器起始时间和结束时间 (Issue #1015) 看到作者在其他地方回复过,说是多层嵌套,逻辑复杂。所以没做这个功能? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

用啊。只是想请教下你是怎么实现的而已。能否在你的readMe上指导一下。

javakam commented 10 months ago

https://github.com/javakam/PickerView