liuwan1992 / customdatepicker Goto Github PK
View Code? Open in Web Editor NEWAndroid 自定义日期选择控件
Home Page: http://blog.csdn.net/liuwan1992/article/details/52701475
License: Apache License 2.0
Android 自定义日期选择控件
Home Page: http://blog.csdn.net/liuwan1992/article/details/52701475
License: Apache License 2.0
开始时间 要大于0,对于 1970之前的时间段选择不了
ScrollView包裹 PickerView 会使PickerView 滑动响应非常缓慢 猜测是滑动冲突引起的,,望作者能解决一下
开始时间设置1900-01-01 结束时间选择当日时间,为什么时间弹窗就不出来了呢
不知道咋回事 我搞完之后 年数最早是到2009年 再往前的时候就没有了 月份是5-12月
年选择完后面的,月,日,时,分都跟着变初始了,我觉得这样的体验不好,如果用户都选择好了,突然想起来年份不对,那岂不是都要重新在选择一次。
DatePickerView类中使用的 Timer和updateHandler 会使Activity被一直占用,导致内存泄漏,
好像最低年限只能到1971年
请求这个可以增加点击时间吗? 就是可以点击2018年, 然后2018年就变为选中状态
你好,想咨询下
(mScrollUnits & SCROLL_UNIT_HOUR) == SCROLL_UNIT_HOUR 与 (mScrollUnits & SCROLL_UNIT_MINUTE) == SCROLL_UNIT_MINUTE
的作用,谢谢
博主好,这个控件设置当天时间段有问题
customDatePicker1 = new CustomDatePicker(this, new CustomDatePicker.ResultHandler() {
@OverRide
public void handle(String time) { // 回调接口,获得选中的时间
currentDate.setText(time.split(" ")[0]);
}
}, "2018-01-01 00:00", “2018-01-01 23:59”); // 初始化日期格式请用:yyyy-MM-dd HH:mm,否则不能正常运行
customDatePicker1.showSpecificTime(false); // 不显示时和分
customDatePicker1.setIsLoop(false); // 不允许循环滚动
这样设置"2018-01-01 00:00"到“2018-01-01 23:59” 导致前面的都能选
你好 请问我想实现选中日期 上一行(和下一行)的距离远一些,现在遇到的问题是距离调远以后 字就变小了变得和 选择日期 上二行(或下二行一样小)
能不能提供个implementation啥的 从你的项目拷过去几个类 要改好几个类 挺麻烦的
这个仓库的gradle怎么引用
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.