- New: Ability to disable month swiping with
setPagingEnabled()
- Fix #149: save selected dates as a typed List instead of an array.
- Change: Some preformance optimizations
- Fix #143:
flag implementation for
showOtherDates
was a little weird and ambiguous. Clarified and added documentation.
- New: Added ability to select multiple dates or disable selection completely
- Change:
OnDateChangedListener
has becomeOnDateSelectedListener
with different functionality - Change:
showOtherDates
is now a integer flag for finer control over which days are shown - Change:
CalendarDay.toString()
no longer adds one to the month
- Fix: Setting the topbar to invisible didn't correctly resize the view
- Change: Made
DayViewFacade
non final for unit test mocking
- Change: The view now responds better to layout parameters.
The functionality is similar to how
adjustViewBounds
works with ImageView, where the view will try and take up as much space as necessary, but we base it on tile size instead of an aspect ratio. The exception being that if atileSize
is set, that will override everything and set the view to that size. - Fix: Use more efficent method for indexing months
- Fix: Being in certain timezones only showed the last week of the month
- Fix: Decorating with a custom selection drawable now works correctly
- Change: Now detect the first day of the week based off of Locale
- New: You can now change the current month without animating using
setCurrentDate(day, false)
- Fix: Null pointer when trying to remove decorators when none have been added
- Fix: Improve Javadoc
- Fix: Hidding top bar will no longer distort the calendar
- Change: top bar visibility, first day of the week, and tile size are now saved during rotation
- New: DayViewDecorators now support disabling individual days
- New: You can set custom masks for arrows
- New: You can now set the top bar (arrows and title) as no visible
- Change: There are several factory methods on
CalendarDay
which should be used in place of the now deprecated constructors - Bugfix: You can now clear the selected date. Either by passing null or calling
clearSelection()
- New: You can now supply a custom
DayFormatter
to format day labels.
- Change: Revamp DayViewDecorators to be more efficent. See README for differences.
- New: Added ability to change the first day of the month
- New: Added month change listener
- New: Added DayViewDecorator and DayViewFacade to allow for day decorating
- Change: Namespaced library resources. Everything is now prefixed with
mcv_
- New: Widget resizing is now possible by setting the tileSize
- Change: XML layouts are no longer used
- Change: Default tile size is now an integer resource
- New: Customize labels for weekdays and months
- Bugfix: Full fix issue that was supposed to be fixed in 0.2.2
- Bugfix: Text didn't center on RTL apps, default the text alignment to center
- Bugfix: Using
Date
for setting anything in the library wasn't getting set correctly - New: Added
Date
variants for min and max setters
- Start of ChangeLog