[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-4360":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":22,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":16,"starSnapshotCount":16,"syncStatus":31,"lastSyncTime":32,"discoverSource":33},4360,"material-calendarview","prolificinteractive\u002Fmaterial-calendarview","prolificinteractive","A Material design back port of Android's CalendarView","https:\u002F\u002Fprolificinteractive.github.io\u002Fmaterial-calendarview\u002F",null,"Java",5914,1299,197,226,0,1,35.44,"MIT License",false,"master",true,[24,25,26,27],"android","calendar","java","material","2026-06-11 04:01:51","\u003Cimg src=\"\u002Fimages\u002Fhero.png\"\u002F>\n\n# Material Calendar View \n[![Android Arsenal](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAndroid%20Arsenal-Material%20Calendar%20View-blue.svg?style=flat)](https:\u002F\u002Fandroid-arsenal.com\u002Fdetails\u002F1\u002F1531) [![](https:\u002F\u002Fjitpack.io\u002Fv\u002Fprolificinteractive\u002Fmaterial-calendarview.svg)](https:\u002F\u002Fjitpack.io\u002F#prolificinteractive\u002Fmaterial-calendarview) [![Travis branch](https:\u002F\u002Fimg.shields.io\u002Ftravis\u002Fprolificinteractive\u002Fmaterial-calendarview.svg?maxAge=2592000)](https:\u002F\u002Ftravis-ci.org\u002Fprolificinteractive\u002Fmaterial-calendarview)\n\nA Material design back port of Android's CalendarView. The goal is to have a Material look\nand feel, rather than 100% parity with the platform's implementation.\n\n\u003Cimg src=\"\u002Fimages\u002Fscreencast.gif\" alt=\"Demo Screen Capture\" width=\"300px\" \u002F>\n\n## Installation\n\nStep 1. Add the JitPack repository to your build file\n\n```groovy\nallprojects {\n  repositories {\n    ...\n    maven { url 'https:\u002F\u002Fjitpack.io' }\n  }\n}\n```\n\nStep 2. Add the dependency\n\n```groovy\ndependencies {\n  implementation 'com.github.prolificinteractive:material-calendarview:${version}'\n}\n```\n\n## Usage\n\n1. Add `MaterialCalendarView` into your layouts or view hierarchy.\n2. Set a `OnDateSelectedListener` or call `MaterialCalendarView.getSelectedDates()` when you need it.\n\n[Javadoc Available Here](http:\u002F\u002Fprolificinteractive.github.io\u002Fmaterial-calendarview\u002F)\n\nExample:\n\n```xml\n\u003Ccom.prolificinteractive.materialcalendarview.MaterialCalendarView\n    xmlns:app=\"http:\u002F\u002Fschemas.android.com\u002Fapk\u002Fres-auto\"\n    android:id=\"@+id\u002FcalendarView\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    app:mcv_showOtherDates=\"all\"\n    app:mcv_selectionColor=\"#00F\"\n    \u002F>\n```\n\n\n## Documentation\n\nMake sure to check all the documentation available [here](https:\u002F\u002Fgithub.com\u002Fprolificinteractive\u002Fmaterial-calendarview\u002Fwiki).\n\n## Customization\n\nOne of the aims of this library is to be customizable. The many options include:\n\n* [Define the view's width and height in terms of tile size](https:\u002F\u002Fgithub.com\u002Fprolificinteractive\u002Fmaterial-calendarview\u002Fwiki\u002FCustomization#tile-size)\n* [Single or Multiple date selection, or disabling selection entirely](https:\u002F\u002Fgithub.com\u002Fprolificinteractive\u002Fmaterial-calendarview\u002Fwiki\u002FCustomization#date-selection)\n* [Showing dates from other months or those out of range](https:\u002F\u002Fgithub.com\u002Fprolificinteractive\u002Fmaterial-calendarview\u002Fwiki\u002FCustomization#showing-other-dates)\n* [Setting the first day of the week](https:\u002F\u002Fgithub.com\u002Fprolificinteractive\u002Fmaterial-calendarview\u002Fwiki\u002FCustomization-Builder#first-day-of-the-week)\n* [Show only a range of dates](https:\u002F\u002Fgithub.com\u002Fprolificinteractive\u002Fmaterial-calendarview\u002Fwiki\u002FCustomization-Builder#date-ranges)\n* [Customize the top bar](https:\u002F\u002Fgithub.com\u002Fprolificinteractive\u002Fmaterial-calendarview\u002Fwiki\u002FCustomization#topbar-options)\n* [Custom labels for the header, weekdays, or individual days](https:\u002F\u002Fgithub.com\u002Fprolificinteractive\u002Fmaterial-calendarview\u002Fwiki\u002FCustomization#custom-labels)\n\n\n### Events, Highlighting, Custom Selectors, and More!\n\nAll of this and more can be done via the decorator api. Please check out the [decorator documentation](https:\u002F\u002Fgithub.com\u002Fprolificinteractive\u002Fmaterial-calendarview\u002Fwiki\u002FDecorators).\n\n## Recent Changes\n\n### Major Change in 2.0\n\nMaterial CalendarView 2.0 comes in with a major change into the core of it's API, we transitioned from using `java.util.Calendar` to `java.time.LocalDate`. Also that should not impact the public api (we are still using `CalendarDay`), both `Calendar` and `LocalDate` function a little bit differently.\nOne example of that: Months are now indexed from 1 (January) to 12 (December). You can access from the `LocalDate` from `CalendarDay` using `getDate()`.\n\n### Major Change in 1.6.0\n\nAlso this release doesn't have any break changes, it provides significant improvements to the widget. More customization have been added for the user (custom fonts, long click listener, show\u002Fhide weekdays) as well as various fixes, improvements to the sample app, and general cleanup. Make sure to check the CHANGELOG and the release section for more details. \n\n### Major Change in 1.5.0\n\nWe recently updated to the latest gradle and decided to move over our libraries to the hosting service Jitpack.\nPlease refer to the installation section for more details.\n\n### Major Change in 1.4.0\n\n* Breaking Change: `setFirstDayOfWeek`, `setMin\u002FMaxDate`, and `setCalendarDisplayMode` are moved to a `State` object. This was necessary because it was unclear that these were not simple setters--individually, they were side effecting and triggered full adapter\u002Fdate range recalculations. Typical usage of the view involves setting all these invariants up front during `onCreate` and it was unknown to the user that setting all 4 of these would create a lot of waste. Not to mention certain things were side effecting--some would reset the current day or selected date. As a result, the same 4 methods called in a different order could result in a different state, which is bad.\n\n  For most cases you will simply need to replace setting those invariants with: \n  ```java\n  mcv.state().edit()\n    .setFirstDayOfWeek(Calendar.WEDNESDAY)\n    .setMinimumDate(CalendarDay.from(2016, 4, 3))\n    .setMaximumDate(CalendarDay.from(2016, 5, 12))\n    .setCalendarDisplayMode(CalendarMode.WEEKS)\n    .commit();\n  ```\n\n  `mcv.state().edit()` will retain previously set values; `mcv.newState()` will create a new state using default values. Calling `commit` will trigger the rebuild of adapters and date ranges. It is recommended these state changes occur as the first modification to MCV (before configuring anything else like current date or selected date); we make no guarantee those modifications will be retained when the state is modified.\n\n  See [CUSTOMIZATION_BUILDER](https:\u002F\u002Fgithub.com\u002Fprolificinteractive\u002Fmaterial-calendarview\u002Fwiki\u002FCustomization-Builder) for usage details.\n* New: `setSelectionMode(SELECTION_MODE_RANGE)` was added to allow 2 dates to be selected and have the entire range of dates selected. Much thanks to [papageorgiouk](https:\u002F\u002Fgithub.com\u002Fpapageorgiouk) for his work on this feature. \n\nSee other changes in the [CHANGELOG](\u002FCHANGELOG.md).\n\n# Contributing\n\nWould you like to contribute? Fork us and send a pull request! Be sure to checkout our issues first.\n\n## License\n\nMaterial Calendar View is Copyright (c) 2018 Prolific Interactive. It may be redistributed under the terms specified in the [LICENSE] file.\n\n[LICENSE]: \u002FLICENSE\n\n## Maintainers\n\n![prolific](https:\u002F\u002Fs3.amazonaws.com\u002Fprolificsitestaging\u002Flogos\u002FProlific_Logo_Full_Color.png)\n\nMaterial Calendar View is maintained and funded by Prolific Interactive. The names and logos are trademarks of Prolific Interactive.\n","Material Calendar View 是一个遵循 Material Design 规范的 Android 日历控件。它提供了丰富的自定义选项，包括但不限于单个或多个日期选择、显示其他月份的日期、设置每周的第一天以及自定义顶部栏等，旨在为开发者提供高度可定制的日历界面解决方案。该库支持通过 JitPack 快速集成到项目中，并且易于使用，只需在布局文件中添加 `MaterialCalendarView` 控件并设置监听器即可开始使用。适用于需要美观且功能全面日历组件的应用场景，如事件管理、日程安排等。",2,"2026-06-11 02:59:49","top_language"]