i wanna to change labels in different days but the application crash
mCalendarView.setDateLabelAdapter(new MonthView.DateLabelAdapter() {
@Override
public CharSequence getLabel(Calendar calendar, int index) {
if (calendar.get(Calendar.DATE) == 5) {
mCalendarView.getTimelineView().setLabelColor(getResources().getColor(R.color.red_50));
i wanna to change labels in different days but the application crash
mCalendarView.setDateLabelAdapter(new MonthView.DateLabelAdapter() { @Override public CharSequence getLabel(Calendar calendar, int index) { if (calendar.get(Calendar.DATE) == 5) { mCalendarView.getTimelineView().setLabelColor(getResources().getColor(R.color.red_50));