.clearHighlightedDates() does not work on a range.
See original GitHub issueAndroid 6.0, using com.squareup:android-times-square:1.6.5@aar
- Initialize a
CalendarPickerViewwith selection typeRANGE. - Set up a ‘Clear’ button, that when you click it, clears the calendar’s selections (mCalendar.clearHighlightedDates()).
- Run the application, select some dates (notice they are all highlighted).
- Click your Clear button. –> Notice that the dates are still highlighted.
Debugging shows that the highlightedCells in the CalendarPickerView is empty, so there is nothing to update, so the views stay highlighted. So when the dates / range are selected, shouldn’t they also be added to the highlightedCells list?
Maybe I don’t understand what the clearHighlightedDates() function is supposed to do.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:11 (6 by maintainers)
Top Results From Across the Web
CalendarPickerView.java example - Javatips.net
The calendar will scroll to that date if it's not already * visible. ... RANGE && selectedDates.size() > 2) { throw new IllegalArgumentException(...
Read more >Highest scored 'android-calendar' questions - Page 20 - Stack ...
I want the DatePickerDialog to not show dates before current date. I'm using the setMinDate(long l) method. But it's not working. I use...
Read more >review_comments.txt - GitHub
If this doesn't work without setter then I think we should just leave it as it is instead ... The current lengthenShortUrl() is...
Read more >weixin_39929377的博客_CSDN博客-领域博主
我已经尝试了将textarea的.html()和.val()属性设置为我的Ajax调用数据参数的 ... 130.130.16.1 255.255.255.0 Switch (config-if)#no shutdown Switch ...
Read more >Standalone Android widget for picking a single date from a ...
clearHighlightedDates() does not work on a range. Android 6.0, using com.squareup:android-times-square:1.6.5@aar.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Do not use that site. search.maven.org or repo1.maven.org are the real sources of packages.
On Mon, Apr 10, 2017, 12:51 PM Elliott Jay Dub notifications@github.com wrote:
Got it, thanks for clarifying.