A highly customizable calendar view and compose library for Android.
Compose:
rememberCalendarState()
function does not refresh the calendar.Compose:
All the changes in 2.4.1 and Compose UI 1.6.0-beta02
Compose:
firstDayOfWeek
does not refresh the current month #514View:
Compose:
Compose:
General Dependencies:
Update Kotlin to 1.9.10 Update Android Gradle plugin to 8.1.0
Compose:
General Dependencies:
Update Desugar JDK library to 2.0.3 Update Kotlin to 1.8.21 Update Android Gradle plugin to 8.0.2
Compose:
View:
Compose:
View:
Example:
val date = LocalDate.now() // your desired date
calendarView.notifyDateChanged(date, *DayPosition.values())
// OR
calendarView.notifyDateChanged(date, DayPosition.InDate, DayPosition.MonthDate, DayPosition.OutDate)
// This also means that you can do any kind of partial reload
// For example, you can reload only the in-date and out-date
calendarView.notifyDateChanged(date, DayPosition.InDate, DayPosition.OutDate)
General Dependencies:
Compose:
View: