We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to show and focus on current day when this calender is shown, how to do it?
From below code, it is focus/showing 1 Jan 2021, i want to show current day when the calender is shown, how?
DatePickerTimeline datePickerTimeline = dialog.findViewById(R.id.datePickerTimeline); // Set a Start date (Default, 1 Jan 1970) Calendar today = Calendar.getInstance(); datePickerTimeline.setInitialDate(2021, 0, 1); datePickerTimeline.setActiveDate(today); datePickerTimeline.setActivated(true);
The text was updated successfully, but these errors were encountered:
try this Code:
Code
HorizontalCalendarView calendarView = view.findViewById(R.id.hori_calander); Calendar startdate = Calendar.getInstance(); startdate.add(Calendar.YEAR, -5); Calendar enddate = Calendar.getInstance(); enddate.add(Calendar.YEAR, 10);
Sorry, something went wrong.
No branches or pull requests
I want to show and focus on current day when this calender is shown, how to do it?
From below code, it is focus/showing 1 Jan 2021, i want to show current day when the calender is shown, how?
The text was updated successfully, but these errors were encountered: