CalendarView
Introduction: Android 上一个优雅、万能自定义 UI、性能高效的日历控件,热插拔!热插拔!热插拔!重要的事说三遍,支持热插拔实现的 UI 定制!支持标记、自定义颜色、农历等。Canvas 绘制,速度快、占用内存低
Tags:
日历-RecyclerView? ListView or ViewGroup? No, it's Canvas! Ultra performance and free customization interface! Fast rendering and extremely low memory.
温馨提醒 Warm tips
Github 代码全部开源无限制使用,免费开源最终版本为 3.7.1,垂直、水平切换日历、自定义动画高仿 iOS 日历等源码不再开源。如需全部源码和使用支持,请微信联系,源码 200 元,无限制使用。
The final version of the free and open source part is 3.7.1, the vertical and horizontal switching calendar liked iOS calendar are no longer open source.
AndroidStudio v3.5+
support version if using support package
implementation 'com.haibin:calendarview:3.6.8'
Androidx version if using Androidx
implementation 'com.haibin:calendarview:3.7.1'
<dependency>
<groupId>com.haibin</groupId>
<artifactId>calendarview</artifactId>
<version>3.7.1</version>
<type>pom</type>
</dependency>
How to use?
proguard-rules
-keepclasseswithmembers class * {
public <init>(android.content.Context);
}
or using this proguard-rules
-keep class your project path.MonthView {
public <init>(android.content.Context);
}
-keep class your project path.WeekBar {
public <init>(android.content.Context);
}
-keep class your project path.WeekView {
public <init>(android.content.Context);
}
-keep class your project path.YearView {
public <init>(android.content.Context);
}
Effect Preview
func
YearView and Range Style
Beautiful Chinese style
Meizu mobile phone calendar
Colorful and Full style
Progress bar style
Galaxy style
Licenses
Copyright (C) 2013 huanghaibin_dev huanghaibin_dev@163.com
Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and limitations under the License.