Releases: prolificinteractive/material-calendarview
Releases · prolificinteractive/material-calendarview
v1.3.0
- New: MCV
goToNext
andgoToPrevious
API to programmatically trigger paging - New: Allow users to click on dates outside of current month with
setAllowClickDaysOutsideCurrentMonth
- New: Set tile width/height separately rather than single tile size
- New: Attributes: mcv_tileWidth, mcv_tileHeight, mcv_calendarMode
- Change:
CalendarMode.WEEK
officially marked@Experimental
, use with caution - Change:
getTileSize
is deprecated, usegetTileWidth
andgetTileHeight
.setTileSize
still works as a convenience method to set width and height at the same time. - Fix: Issue with arrow not enabled when setting maxDate
- Fix: Issue with number of pages not calculated correctly with maxDate causing last page to be unreachable
- Fix: TalkBack content descriptions for pager view, forward/back arrows, and ability to set them manually
- Fix: Crash while in Week mode when
CalendarPagerAdapter#getItemPosition
is called - Fix: Calendar Mode is retained on restore instance state
- Fix: Min/Max date range is retained on restore instance state
- Issue: Week mode - Restore instance state shows the previous week of the one that was saved
- Issue: Week mode - Some combinations of first day of week, min/max date can cause the last week not to be pagable
1.2.0
1.1.0
1.0.1
1.0.0
- 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
0.8.0
- Change: The view now responds better to layout parameters.
The functionality is similar to howadjustViewBounds
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
0.7.0
- 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
0.6.0
0.5.0
- 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.