How to create custom calendar with event management? [closed]

妖精的绣舞 提交于 2019-12-23 08:54:14

问题


My Requirement:- I am trying to make an app which have only calendar functionality, when user opens the app, calendar opens same like Google calendar. I receive events from web service and i have to show those events according to the date in calendar. Now if their is any event on any date than their should be a color block for event time, and if multiple events are there, than we have to show multiple color blocks each for one events.

I am here for a good piece of advice. Can i do this by default libraries or API's? because I have read android API's Calendar, CalendarView, calendar-provider, CalendarContract. But no one tells that how can we show events in your own calendar.

So I am trying it with custom calendar. I am able to create custom calendar by using Gridview.

.

I want it to look like this with events

.

BTW My minimum Android support is android v4.0


回答1:


Can i do this by default libraries or API's?

No. CalendarView is more of an alternative date picker than DatePicker.

ExtendedCalendarView looks like it is more in line with what you are seeking.



来源:https://stackoverflow.com/questions/16644575/how-to-create-custom-calendar-with-event-management

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!