Comments (5)
关于第一个问题 你使用CalendarAdapter的getSeedDate方法得到日期 然后通过java.calendar的api计算就好了
from supercalendar.
关于第二个问题 你新建一个日期实例 这个日期是你选择的那一年的那一周的某一天 然后 在使用CalendarAdapter.notifyDataChange方法就直接跳转过去了
from supercalendar.
关于第一个问题描述有错误 你可以通过CalendarAdapter.getItem.get(currentPosition).getSeedDate得到一个日期对象 然后再调用calendar的api
from supercalendar.
好吧 我周末给你开放出相关的api 让你直接通过monthpager的实例直接得到当前显示的日期 你可以通过日期在计算出是第几周
from supercalendar.
跳转到指定周我不会再给你开放api了 notifydatachange方法已经可以了 至于你怎么设计这个选择器 是你的事了 加油
from supercalendar.
Related Issues (20)
- 那个效果图中的下拉按钮怎么加上去啊
- calendarViewAdapter.notifyDataSetChanged()为刷新view 手动触摸触发setPrimaryItem时 触发视图刷新 HOT 1
- calendarViewAdapter.notifyDataSetChanged()为刷新view 手动触摸触发setPrimaryItem时 触发视图刷新
- 点击灰色区间出现日期换乱
- 如何设置活动日期,日期下面那个黄色的圆点
- 怎么监听到向上滑变成一行日期的事件
- 解决点击日期错乱问题 !!!!!!!!!!! HOT 2
- 怎么更改只显示当前月的日期,就像钉钉考勤日历那样,
- 怎么添加上下滑动的那个图片啊 HOT 1
- 麻烦老大把添加上下滑的图片那部分代码发出来一下,谢谢了
- 效果图挂了 能更新一下图片吗
- 如何取消今天的默认选中状态 HOT 1
- java.lang.IllegalArgumentException:pointerIndex out of range
- 配合SmartRefreshLayout
- 如何设置日期不可选中
- setMarkData标记的默认颜色能更改吗?
- 关于设置默认周显示 HOT 1
- 如何设置以日为单位进行滑动
- 滑动错乱
- 你好,请问下,我想在日历下面放一个向上和向下折叠的图标,可以提供一个思路吗?
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 supercalendar.