Package com.boswelja.ephemeris.views
Types
Link copied to clipboard
An interface used to tell the calendar adapter how to create and bind your date cell ViewHolder.
Link copied to clipboard
A listener to be called when a date range changes.
Link copied to clipboard
class EphemerisCalendarView @JvmOverloads constructor( context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : FrameLayout
Content copied to clipboard
A android.view.View that displays the Ephemeris calendar. You must set a dateBinder and pageSource for the calendar to work correctly.
Functions
Link copied to clipboard
fun CalendarPage.forEachInRange(dateRange: ClosedRange<LocalDate>, block: (flatIndex: Int, CalendarDay) -> Unit)
Content copied to clipboard
Link copied to clipboard
fun CalendarPage.getFlatDetailsFor(date: LocalDate): Pair<Int, CalendarDay>?
Content copied to clipboard
Retrieves the "flat" index and CalendarDay for the given date, or null if the date does. not exist on this page