- Adds support for using a theme attribute for tsquare_dayTextColor
- New language: Ukranian
- New: custom cells (using a DayViewAdapter) can now have taller contents than the default 1x1 cell.
- Improved:
tsquare_displayAlwaysDigitNumbers
now also applies to the year in Burmese/Arabic
- Improved: better month name formatting for Chinese/Japenese.
- New:
tsquare_displayAlwaysDigitNumbers
to override the locale setting and show digits on day cells.
- New:
tsquare_titleTextStyle
allows full styling of the month title view - Removed:
tsquare_titleTextColor
(usetsquare_titleTextStyle
instead)
- New:
tsquare_displayDayNamesHeaderRow
allows hiding the day names header row
- New: withMonthsReverseOrder for reversing the order of months
- New: RangeState is now accessible so getRangeState actually works
- New language: Esperanto
- New: clearSelectedDates() method so you can clear an entire RANGE
- Improved: significant performance improvement for large calendar ranges
- New: isHighlighted() and getRangeState()
- New: Support for specifying the timezone
- New languages: Serbian and Russian!
- New: Support for arabic numbers
- New: Performance improvement in CalendarCellView
- New: Support for completely custom cell views
- New: Support for a custom "highlighted" color
- New language: Polish!
- Convert build to gradle to hopefully fix another support-library issue.
- Fix: compatibility with appcompat 23
- New: Right-To-Left layout support.
- Fix: applying decorators after views are rendered now works
- New: CalendarCellView accessors for various states. Useful for CalendarCellDecorator implementation.
- New:
CalendarCellDecorator
- Flexibility to do whatever custom logic you want on top of our cells. - New:
clearHighlightedDates()
- Unhighlights all previously highlighted days. - New:
scrollToDate(Date date)
- Scroll to the month that given date belongs to. - New:
containsDate(List<Calendar> selectedCals, Date date)
- if date is within selectedCals - Fix: When calculating cell width, make sure to cover all of totalWidth.
- New: Use CellClickInterceptor to implement custom cell-click logic
- Fix: Correct default header/title text colors.
- Fix: Disallow passing > 2 dates to withSelectedDates when in RANGE mode.
- New: Individual typeface options for the header and days.
- Fix: Prevent warnings which might have been logged about relayout.
- New: Styling options for typeface, hiding the header, and specifying a divider.
- New:
setShortWeekdays
method allows supplying alternate day names in accordance withDateFormatSymbols.setShortWeekdays
.
- Fix: Revert to older maven-android-plugin to fix .aar artifact.
- New: Better support for theming the widget.
- New: Optional smooth scroll support for
selectDate
. - Fix: Properly clear highlighted dates when initializing the widget.
- Fix: Ensure cell drawables properly invalidate on state change.
- Fix: Revert to older maven-android-plugin to fix .aar artifact.
- New:
OnDateSelected
listener. - New:
setSelectedDate
initialization method. - New: Multi-date selection and range selection modes.
- New:
OnDateConfiguredListener
controls which dates are selectable along withOnInvalidDateSelectedListener
when an invalid date selection is attempted. - New: Use custom selector states for styling.
- Fix: Use standalone month name when supported.
- Fix: Use current calendar's proper first day of week.
- Fix: scroll to selected date after init.
- Fix: Months with no selectable dates are no longer displayed.
- Fix:
NullPointerException
when clicking on day headers. - Fix: Better row measurement cachine.
Initial release.