hi-manshu / Kalendar

Kalendar is a powerful and customizable calendar library for Android applications. It provides a flexible and intuitive way to display and interact with calendars in your app. With Kalendar, you can easily render calendar views, handle date selection, pagination, and range selection, and customize the layout to match your app's design.
https://www.himanshoe.com
Apache License 2.0
761 stars 66 forks source link

Interface #132

Open morganesoula opened 1 year ago

morganesoula commented 1 year ago

In order to use your own implementation of KalendarEvent and pass a list of KalendarEvents to the Kalendar Composable, I think it would be better for KalendarEvent to be an interface rather than a data class.

This way I can add as many fields as I wish, pass the list of my custom KalendarEvent to the events parameter in the Kalendar composable.