Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature suggestions #5

Closed
eikaramba opened this issue Aug 6, 2018 · 2 comments
Closed

Feature suggestions #5

eikaramba opened this issue Aug 6, 2018 · 2 comments

Comments

@eikaramba
Copy link

thx for the library i just wanted to share our requirements, maybe it is interesting for you. All come from real business cases:

  • being able to quickly navigate years(e.g. to select birthday without needing to scroll/click thousand times)
  • filter to select what dates should not be allowed. either by manually specifying dates or provide defaults((e.g. weekends, holidays)
@rAseri
Copy link
Contributor

rAseri commented Aug 7, 2018

@eikaramba thanks for your suggestions!

  1. CalendarView provides moveToDate() method that can be used for fast moving to the specific calendar date. You can implement your custom UI logic for year selection and use this Calendar method for moving to the first date of selected year.

  2. This is a very good suggestion, we'll think about it.

@rAseri
Copy link
Contributor

rAseri commented Aug 31, 2018

@eikaramba In version 1.1.0 we have added the features that you suggested:

  1. We have added an optional year selection control that uses for fast year switching.
  2. We have added a dateSelectionFilter . That filter is used to detect whether a date available for selection or not. You can implement your custom filtration logic.

@rAseri rAseri closed this as completed Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants