Skip to content

Releases: prolificinteractive/material-calendarview

v1.3.0

23 Jun 16:18
Compare
Choose a tag to compare
  • New: MCV goToNext and goToPrevious 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, use getTileWidth and getTileHeight. 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

25 Jan 04:23
Compare
Choose a tag to compare
  • Fix: Disable paging also disables arrows
  • Fix: Allow paging from the entire width of the view
  • New: Dynamic Height, the calendar can now resize its height based on the currently visible month
  • New: Add single week calendar mode

1.1.0

19 Oct 23:16
Compare
Choose a tag to compare
  • 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

1.0.1

30 Sep 20:38
Compare
Choose a tag to compare
  • Fix #143: flag implementation for showOtherDates was a little weird and ambiguous. Clarified and added documentation.

1.0.0

30 Sep 20:39
Compare
Choose a tag to compare
  • New: Added ability to select multiple dates or disable selection completely
  • Change: OnDateChangedListener has become OnDateSelectedListener 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

30 Sep 20:40
Compare
Choose a tag to compare
  • 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 a tileSize is set,
    that will override everything and set the view to that size.
  • Fix: Use more efficent method for indexing months

0.7.0

30 Sep 20:40
Compare
Choose a tag to compare
  • 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

30 Sep 20:41
Compare
Choose a tag to compare
  • 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

0.5.0

30 Sep 20:41
Compare
Choose a tag to compare
  • 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.

0.4.0

30 Sep 20:42
Compare
Choose a tag to compare
  • Change: Revamp DayViewDecorators to be more efficient