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 switch calendar to specific month #25

Open
kidsh opened this issue Jun 13, 2017 · 3 comments
Open

How to switch calendar to specific month #25

kidsh opened this issue Jun 13, 2017 · 3 comments

Comments

@kidsh
Copy link

kidsh commented Jun 13, 2017

I am trying to change the calendar month from the month selected from the spinner but I am not able to perform same.
Changing month from next and previous button are working properly but if I want to change it directly to specific month (ex. from June to January) is not performing.
Please provide me some solution for same

@bacnghg
Copy link

bacnghg commented Jul 5, 2017

Me too, pls help us.

@blazsolar
Copy link
Owner

I believe it should work through calendarView.getManager().selectDay(). There is also setActiveMonth method but unfortunately it is private.

After setting it you should call calendarView.populateLayout() so that changes are visible.

@bacnghg
Copy link

bacnghg commented Jul 6, 2017

Yes,
Thanks and best regards.

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

3 participants