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.
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.
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.