Add event to CalendarView

后端 未结 2 1664
面向向阳花
面向向阳花 2021-01-13 02:24

I think the question says it all: is it possible to display events in the Android default CalendarView?

I know that it is made for widgets and not for

相关标签:
2条回答
  • 2021-01-13 03:14

    You can't add events in default CalendarView. either you need to make it custom or you need to use some library.

    I have used Caldroid library many times.it is easy to implement and robust.

    enter image description here

    0 讨论(0)
  • 2021-01-13 03:18

    Shameless plug. I've also written my own android CalendarView which allows you to add events, listeners, provides infinite scrolling and is a gradle project: https://github.com/SundeepK/CompactCalendarView .

    0 讨论(0)
提交回复
热议问题