Comments (8)
周视图切换的时候吗?默认选中周一或者周日?
from calendarview.
from calendarview.
有没有提供设置农历显示与隐藏的方法呢?
from calendarview.
星期日到星期一的排列这个就不提供切换了,这种需求会使整个框架多了一堆if else语句,农历的显示和隐藏这个你按照demo就可以自己实现的啊,你可以把农历换成你想要的任意文本都是可以的,这个框架本身不干扰
from calendarview.
星期日到星期一的排列这个如果要实现,可以提供一下思路么?具体在框架哪个部分修改呢?谢谢了!
from calendarview.
整体的算法都需要改动,日历的核心部分是农历算法和周算法,涉及到两个日期有多少周的话,是需要计算这两个日期的起始偏移和结束偏移的,总之,不建议改动这里
from calendarview.
框架里的Month类,有个setDiff()方法,表示日期偏移,可以实现么?
from calendarview.
真的不可以,如果只是单独考虑月视图,那还好,但是周视图太复杂,并不是任意就能改动的,如果真的需要的话,我看看接下来怎么升级比较好,不破坏现在的可读性
from calendarview.
Related Issues (20)
- 日期选择问题
- 关于scheme_month_text_color属性
- 是不是已经含泪停止维护了 HOT 3
- 月视图时第一行日期很难点击一次就选中 HOT 2
- How to disable saturday and sunday from the calender HOT 1
- 请问大佬,如何设置月视图显示从本月10号到下个月9号?跪求解答
- CalendarViewDelegate 中 monthStringResId 属性 本该对应月文本id,代码中却对应到周的资源上了
- Bug:滑动过程中可能触发点击事件 HOT 3
- unable to install
- 这个默认值没有必要
- 年视图下的具体日期能否隐藏?
- 请问年视图下如何去掉日期,只显示月份?
- 可以只动态的更新某一天的显示吗 HOT 1
- 是否考虑迁移到mavenCentral ? HOT 5
- Is there DayView available in this amazing library?
- 初始默认隐藏布局:mCalendarLayout.hideCalendarView() 时下方的RecyclerView高度总是wrap_content
- 日历怎么选择一周
- 如何默认选中一个日期 HOT 1
- 范围选择如何设置开始和结束是同一天时间,请教
- 请问如何设置每一项item的高度
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calendarview.