How to get national holidays of selected country

后端 未结 2 994
孤街浪徒
孤街浪徒 2020-11-29 20:25

I\'m writing an app that allows the user to select a country from a list. When they pick a country, a list of national holidays of that country appears.

I\'ve seen

2条回答
  •  北海茫月
    2020-11-29 21:15

    The CalendarProvider documentation states that it only provides the current user's calendar information.

    The Calendar Provider is a repository for a user's calendar events. The Calendar Provider API allows you to perform query, insert, update, and delete operations on calendars, events, attendees, reminders, and so on.

    You will need to access a third-party API (this one, for example) and load that information into your application.

提交回复
热议问题