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

How to have calendar without min date and max date ? #18

Open
kevindjf opened this issue Jan 30, 2017 · 3 comments
Open

How to have calendar without min date and max date ? #18

kevindjf opened this issue Jan 30, 2017 · 3 comments

Comments

@kevindjf
Copy link

No description provided.

@blazsolar
Copy link
Owner

At the moment that is not possible.

@kevindjf
Copy link
Author

Do you have an idea for me to develop it?

@maheshnikam
Copy link

maheshnikam commented Apr 13, 2017

I Have Got the Solution...

Open MainActivity

REPLACE BELOW LINE:

CalendarManager manager = new CalendarManager(LocalDate.now(), CalendarManager.State.MONTH, LocalDate.now(), LocalDate.now().plusYears(1));

WITH THIS :
final CalendarManager manager = new CalendarManager(LocalDate.now(), CalendarManager.State.MONTH, LocalDate.now().minusYears(1), LocalDate.now().plusYears(1));

look at the 3rd and 4th parameters of CalendarManager, you just need to change that values to
LocalDate.now().minusYears(1), LocalDate.now().plusYears(1)
like this thats it..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants