I have changed the title format of the header as "MMM d, yyyy".
SimpleDateFormat sf = new SimpleDateFormat("MMM d, yyyy");
DateFormatTitleFormatter dateFormatTitleFormatter = new DateFormatTitleFormatter(sf);
dateFormatTitleFormatter.format(CalendarDay.today());
materialCalendarView.setTitleFormatter(dateFormatTitleFormatter);
I need to change the day of current day, but it shows the 1st day of the month.
Example: Oct 1, 2020 but i need output of Oct 30, 2020.
If I select any date, it should show the selected date on the header. Please help me for the customization.
I have changed the title format of the header as "MMM d, yyyy".
SimpleDateFormat sf = new SimpleDateFormat("MMM d, yyyy"); DateFormatTitleFormatter dateFormatTitleFormatter = new DateFormatTitleFormatter(sf); dateFormatTitleFormatter.format(CalendarDay.today()); materialCalendarView.setTitleFormatter(dateFormatTitleFormatter);
I need to change the day of current day, but it shows the 1st day of the month. Example: Oct 1, 2020 but i need output of Oct 30, 2020.
If I select any date, it should show the selected date on the header. Please help me for the customization.