xiaojianglaile / calendar Goto Github PK
View Code? Open in Web Editor NEWAndroid日历 仿小米 华为 滴答清单 365日历(农历),周视图 月视图 平滑滚动 节假日 五六行周切换 week or month calendar
Android日历 仿小米 华为 滴答清单 365日历(农历),周视图 月视图 平滑滚动 节假日 五六行周切换 week or month calendar
ScheduleLayout 默认使用周视图,第一次加载进入,点击周视图下面空白页,会触发日期跳转的事件
滑到最前面点击显示是有问题的 就是月的count与周count是不能很好的匹配的
有谁使用了并解决了的啊
demo onClickDate接口 也就是点击事件给出的 年月日 其中 月比实际少了1个月
CalendarUtils类的removeTaskHint方法。
修改成使用迭代器删除就好了。
Could not find com.android.tools.build:aapt2:3.3.2-5309881.
看了下最后的提交是在2月份,这个项目本身挺好的,就是业务太多的和控件混合在一起,所以我想修改一下把业务解耦出来,可能会改动比较大,不知道作者还接不接受代码? @xiaojianglaile
Hey plz answer me in English
Plz let me know is it possible to redirect to specific month
可以设置吗 日期指定某一天,是用圆环背景,今天还是绿色背景
能设置首次切换到该月的时候不选中日期吗?
周模式下,将日期滑到2017年8月6日(任何一个第6行日期皆不为本月的月份),下拉成月模式。月份会变成5行。之后在月模式滑动不会再变回6行,导致部分月份日期缺失。
追求快速的解决方式:可以直接把ScheduleLayout类中相关RowsIsSix的代码注释掉。
月份切换太快的话,上推到周视图就会错位,本来该是第一周,显示的变成第二周。只有在周视图上选择一个日期,再切换就没问题。
列表是否支持ExpandableListView
更换之后是否支持拖拉变换周月
无法快速向上滑动切换成周历,手势结束后弹回
需求:日历在周模式下,直接选中某天
ScheduleLayout.initData(int year, int month, int day) 这个方法不行,不能自动定位某一天
获取任务的数据库操作为什么放在了控件定义里面
日历的效果还要依赖于布局文件……
能不能把这些解耦出来?弄了两天,问题太多了
Currently, month view and week view starts with Sunday. How can I start it with Monday?
@xiaojianglaile please help me.
我司要做一个新闻筛选,根据日期,您这个轮子很符合,但是下拉刷新有点问题
想集成你的库太难弄了,一堆东西一个关联一个....
建议将ScheduleLayout类的第420代码:
int row = monthView.getWeekRow() - 1;
改为:
int row = CalendarUtils.getWeekRow(monthView.getSelectYear(), monthView.getSelectMonth(), monthView.getSelectDay());
用以解决在周历跨月份翻页时,月历位置计算不准确导致下拉月历出现位置错位的BUG。
您好,想问一下怎么在我的项目中使用?
周视图 怎么让选中日期水平居中 周的文字也是水平滚动的
能不能通过仓库方式引入,而不是本地库的方式引入。推荐JitPack
提一个bug,但默认视图是周控件时,不会显示日期,下拉之后才会显示
就是把周日放到最后去,周一在最前面,这个在WeekBarView里面很好改,但是下面的怎么同步呢。。。。请求大神解答。。。。
发现一个问题
/**
* 跳转到指定年月
*/
public void setYearMonthDayToView(int year, int month) {
setCurrentItem(mMonthAdapter.getMonthCount() / 2, true);
MonthView monthView = mMonthAdapter.getViews().get(mMonthAdapter.getMonthCount() / 2);
if (monthView != null) {
Calendar calendar = Calendar.getInstance();
monthView.clickThisMonth(year, month - 1, calendar.get(Calendar.DATE));
}
}
月日历 跳转到指定年月,跳转后,在往回滑动,会出现跳转的情况,比如说今天是2017年3月,选择了10月,往右滑动,直接跳转到3月;
周日历,类似的方法,压根不生效
点击一次就选取
同一位置再点击一次就取消
该如何实现
如何配合CoordinatorLayout 使用,使Toolbar跟随日历滑动
怎么手动切换周月日历啊
如何调整日历两行之间的间距哇?
2月1日可以选择,2月2日可以选择,2月3就设置成不能选择,2月4日又可以选择,最好给个List传个参数进去设置不能选择的日期
认真看一遍代码,其实原理不难的。
RT RecyclerView条目条多,后续条条目无法显示
每次滑动以后 列表第一个 总是被选中 怎么让他不默认选中呢
I am from India and want to apply ripple effect on each date click
Hi, great job!
I wonder if there's any way to start week on monday, instead of sunday... that would be useful for european countries :)
Thansk!
能不能通过仓库方式引入,而不是本地库的方式引入
如题所述,我不想显示上个月和下个月的日期,只想显示当天日期要怎么做?
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.