访问clearHighlightedDates()通过使用摇篮编译com.squareup:Android的次方:[email protected]不能在时报广场CalendarPickerView
//this works - where calendar is instance of CalendarPickerView
calendar.highlightDates(higlightedDateList);
//this doesn't work -- Cannot resolve 'clearHighlightedDates()'
calendar.clearHighlightedDates();
现在我重新初始化日历再次
奇怪。 IDE用'clearHighlightedDates()'建议什么?该方法存在于该类中。您必须做错了什么,或者您可以尝试Gradle同步(Android Studio顶部的Google Chrome图标)。 – Sufian
是的,它确实存在于上述课程中。是的,我已经做了gradle同步。如上所述,它仍然无法解决。将继续尝试。 – chaitanyad