无法在时代广场 CalendarPickerView 中访问 c​​learHighlightedDates()

Cannot access clearHighlightedDates() in Times-Square CalendarPickerView

通过Gradle编译使用com.squareup:android-times-square:1.5.0@aar

//this works - where calendar is instance of CalendarPickerView
calendar.highlightDates(higlightedDateList);

//this doesn't work -- Cannot resolve 'clearHighlightedDates()'
calendar.clearHighlightedDates();

现在我正在重新初始化日历

您的导入似乎有问题。尝试声明您的 CalendarPickerView 如下:

com.squareup.timessquare.CalendarPickerView myCalendarPickerVew;