Popularity
2.2
Growing
Activity
4.3
-
86
3
6

Description

A Jetpack Compose calendar component with a weekly view that can be expanded to a monthly view. Calendar may be customized according to your preferences. Render the component to look the way you want it to.

Programming language: Kotlin
License: Apache License 2.0

Expandable Compose Calendar alternatives and similar packages

Based on the "Kotlin" category.
Alternatively, view Expandable-Compose-Calendar alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Expandable Compose Calendar or a related project?

Add another 'Kotlin' Package

README

Expandable Compose Calendar

[Expandable Compose Calendar](art/banner.png)

Integrate calendar with your Jetpack Compose project.

Java CI with Gradle

Introduction

A calendar with a week view that can be expanded to a month view

Setup

  1. Configure jitpack
  2. Add the dependency
dependencies {
  ...
  implementation 'com.github.mateusz800:Expandable-Compose-Calendar:<latest version>'
  ...
}

Usage

Add the ExpandableCalendar composable to your code:

ExpandableCalendar(onDayClick = {
    ...
})

Customization

ExpandableCalendar has an optional parameter named theme. By using this property you can customize how your calendar will look like.

ExpandableCalendar(theme = calendarDefaultTheme.copy(
    // properties that you want to override
), onDayClick = {...})

CalendarTheme data class looks like

data class CalendarTheme(
    val backgroundColor: Color,
    val headerBackgroundColor: Color,
    val dayBackgroundColor: Color,
    val selectedDayBackgroundColor: Color,
    val dayValueTextColor: Color,
    val selectedDayValueTextColor: Color,
    val headerTextColor: Color,
    val weekDaysTextColor: Color,
    val dayShape: Shape
)

Support project

Contributing

Contributions are always welcome!

Show your support

Give a โญ๏ธ if this project helped you!