I'm developing an app where the user can create Events(like Calendar apps), Tasks(like Todo apps), or a Habit(like Habits tracking apps). My question is: Is it required for my app to store the events that the user creates in the Calendar Provider, if so, then what about tasks and habits? Do I also store them in the Calendar Provider?
Is it required for my app to store the events that the user creates in the Calendar Provider
No. It is an option, but you can store the events in your own database if you prefer. Or, you could give the user the choice, either for the entire app or on a per-event basis, if you like.
if so, then what about tasks and habits? Do I also store them in the Calendar Provider?
CalendarProvider
is only for calendar entries. My guess is that "tasks and habits" are not calendar entries, so they would go in your own database.