GithubHelp home page GithubHelp logo

tubb / calendarselector Goto Github PK

View Code? Open in Web Editor NEW
169.0 169.0 44.0 22.81 MB

[DEPRECATED]A calendar selector for select dates, support select a continuous period of time and some discontinuous dates

License: Apache License 2.0

Java 100.00%

calendarselector's Introduction

Hi there 👋

I'm Pobi, a Full-Stack Developer, good at React and Android 🤖️

Currently I'm working at howbuy, focus on web development 🛍️

If you want to ask me anything, contact me with [email protected] 😄

TUBB's GitHub stats

calendarselector's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

calendarselector's Issues

选中状态的显示

设置日期选中之后上面出现入住之类的汉字的时候,出现了问题,测试时,默认所有汉字都显示,等于说是每个日期上面都会显示入住两个字,但奇怪的是1.2月会显示正常,3.4.5月无显示,6.7月显示正常,8.9.10月无显示,这是上面bug

新功能

可以只现在每年下的12个月份吗,其他选择不变

viewpager 切换月份卡顿

你好,在使用您的日历控件过程中,对viewpager那个模块儿,我对每个cell增加了网格,并在标题部分增加上一月、下一月按钮,快速点击上一月、下一月过程中会出现页面卡顿

请问如何选择单日呢

我只想选中单一的一天,这个库目前能否做到

我可以用拦截让所选日期列表只包含当前选中的日期,但之前选中的日期依然是选中状态
有什么更新或清除之前选中状态的方法吗

复用问题

monthView.setSCMonth这个方法在recyclerview中好像会出现复用问题,数据错乱

你好,CalendarSelector 模式下 如何动态设置 默认选择日期

需求是 当我 设定一个范围后 比如 2016年1月-12月,进入日期选择界面后 自动跳转到当天日期
比如:2016年 6月7日 ,并且日期为选中状态,然后通过点击把数据返回上一activity(点击默认选中的日期直接返回,点击其他的把选中状态更换再返回数据) 类似于携程的日期选择
跳转用scrollToPosition可以办到,然后默认选择日期 我看源码发现可以通过
for (SCMonth scMonth : data) {
if (scMonth.getYear() == 2016 && scMonth.getMonth() == 6) {
FullDay fullDay = new FullDay(2016,6,7);
scMonth.addSelectedDay(fullDay);
}
}
实现,但是要想单选切换选中状态还是很麻烦的,还不知道怎么移除上一个选中日期

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.