VerticalCalendar
Scroll calendar days in a vertical column infinitely.
Installation
Import with Gradle:
dependencies {
implementation 'com.emc.thye:VerticalCalendar:1.0.4'
}
Basic Usage
Date Click Listener
Date Watcher
There are two built-in state, SELECTED & DEFAULT that changes the day view's background color. You can also implement your own logic by returning CalendarDay.DEFAULT as the state and use VerticalWeekAdapter.DayViewHolder view as the reference to change the view properties.
Customization
Day Text
- customFont - .otf/.ttf placed in res/font folder
- dayTextColor
- weekDayTextColor
- selectedDayTextColor
Day Background
- dayBackground
- selectedBackground