无法在Times-Square CalendarPickerView中访问clearHighlightedDates()

时间:2015-04-17 11:43:35

标签: android android-calendar

通过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();

目前我正在重新初始化日历

1 个答案:

答案 0 :(得分:0)

您的导入似乎有问题。尝试将CalendarPickerView声明为以下内容:

com.squareup.timessquare.CalendarPickerView myCalendarPickerVew;