A Material design back port of Android's CalendarView
MIT License
Bot releases are hidden (Show)
Published by quentin41500 about 6 years ago
java.util.Calendar
in favor of java.time.LocalDate
.setLeftArrow
and setRightArrow
Published by quentin41500 about 6 years ago
setLeftArrow
and setRightArrow
Published by quentin41500 about 6 years ago
java.util.Calendar
in favor of java.time.LocalDate
.Published by quentin41500 about 6 years ago
app:mcv_selectionMode="single"
with the possible values being none
, single
, multiple
and range
. Default mode is still single.java.util.Date
in preference to java.util.Calendar
, wherever it was used.Published by quentin41500 over 6 years ago
setOnDateLongClickListener(OnDateLongClickListener)
setDayFormatterContentDescription(DayFormatter)
.Published by quentin41500 over 6 years ago
The library is now hosted on jitpack. Please refer to the installation section for more information.
maven { url 'https://jitpack.io' }
...
dependencies { implementation 'com.github.prolificinteractive:material-calendarview:1.5.0' }
Published by quentin41500 over 7 years ago
OnTitleClickListener
for title click eventssetSaveCurrentPosition
builder method to use the current position when switching modePublished by quentin41500 about 8 years ago
setTitleAnimationOrientation
Published by quentin41500 over 8 years ago
goToNext
and goToPrevious
API to programmatically trigger pagingsetAllowClickDaysOutsideCurrentMonth
CalendarMode.WEEK
officially marked @Experimental
, use with cautiongetTileSize
is deprecated, use getTileWidth
and getTileHeight
. setTileSize
still works as a convenience method to set width and height at the same time.CalendarPagerAdapter#getItemPosition
is calledPublished by quentin41500 over 8 years ago
setSelectionMode(SELECTION_MODE_RANGE)
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.
Published by ekchang over 8 years ago
Published by dandc87 about 9 years ago
Published by dandc87 about 9 years ago
Published by dandc87 about 9 years ago
Published by dandc87 about 9 years ago
CalendarDay
which should be used in place of the now deprecated constructorsclearSelection()
DayFormatter
to format day labels.Published by dandc87 about 9 years ago
Published by dandc87 about 9 years ago
setCurrentDate(day, false)
Published by dandc87 about 9 years ago
adjustViewBounds
works with ImageView,tileSize
is set,