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

Hi, is there any options to disable the selection of the date before the current date #34

Open
ajsashi88 opened this issue Apr 27, 2019 · 1 comment

Comments

@ajsashi88
Copy link

Hi, is there any options to disable the selection of date before the current date

@francesco-furlan
Copy link
Contributor

Hi @ajsashi88 ,
sure, you have two options:

  1. Initialize the Calendar with the current date as the first month, something like this:
    Calendar calendar = new Calendar(currentDateTime, endDateTime); AUCalendar auCalendar = AUCalendar.getInstance(calendar);;
  2. Implement the onMonthCellBindView with your custom logic (remember to return true on the hasImplementedMonthCellBinding method), if you want to see how it is implemented now you can check here;

Let me know if that solved your issue!

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