Java 带有事件的 Android CalendarView
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/40487451/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Android CalendarView with events
提问by derBndr
I'm looking for a CalendarView that can be used to show multiple events, like the Google Calendar.
我正在寻找可用于显示多个事件的 CalendarView,例如 Google 日历。
I haven't found a solution for this using android.widget.CalendarView
.
我还没有找到解决方案,使用android.widget.CalendarView
.
What is the best way to implement this feature? Should I customize android.widget.CalendarView
or should i use an existing library (which one)?
实现此功能的最佳方法是什么?我应该自定义android.widget.CalendarView
还是应该使用现有的库(哪个)?
采纳答案by Raju
You can use existing library as you can refer here http://www.viralandroid.com/2015/11/android-calendarview-example.html
您可以使用现有的库,因为您可以在这里参考http://www.viralandroid.com/2015/11/android-calendarview-example.html
for more customize you can use this library https://github.com/prolificinteractive/material-calendarview
如需更多自定义,您可以使用此库 https://github.com/prolificinteractive/material-calendarview
回答by Felipe Franco
Hello i used this github project it may serve you as a guide! Calendar View
您好,我使用了这个 github 项目,它可以为您提供指导!日历视图