Material Calendarview Versions Save

A Material design back port of Android's CalendarView

v1.4.0

7 years ago
  • New: setSelectionMode(SELECTION_MODE_RANGE)
  • Breaking Change: setFirstDayOfWeek, setMin/MaxDate, and setCalendarDisplayMode are moved to a State object.
mcv.state().edit()
  .setFirstDayOfWeek(Calendar.WEDNESDAY)
  .setMinimumDate(CalendarDay.from(2016, 4, 3))
  .setMaximumDate(CalendarDay.from(2016, 5, 12))
  .setCalendarDisplayMode(CalendarMode.WEEKS)
  .commit();

See CUSTOMIZATION_BUILDER for more information.

v1.2.0

8 years ago
  • 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

v1.1.0

8 years ago
  • 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

v0.3.1

8 years ago
  • New: Added DayViewDecorator and DayViewFacade to allow for day decorating

v0.3.2

8 years ago
  • New: Added ability to change the first day of the month
  • New: Added month change listener

v0.4.0

8 years ago
  • Change: Revamp DayViewDecorators to be more efficient

v0.5.0

8 years ago
  • 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.

v0.6.0

8 years ago
  • 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

v0.7.0

8 years ago
  • 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

v0.8.0

8 years ago
  • 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