Package com.cvs.design.datepicker

Types

CalendarConstraints
Link copied to clipboard
class CalendarConstraints : Parcelable
Used to limit the display range of the calendar and set an openAt month.
DateSelector
Link copied to clipboard
interface DateSelector<S> : Parcelable
Interface to control how the Calendar displays and returns selections.
DateValidatorPointForward
Link copied to clipboard
A CalendarConstraints.DateValidator that enables dates from a given point forward.
EnterpriseDatePicker
Link copied to clipboard
class EnterpriseDatePicker @JvmOverloads() constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int) : EnterprisePicker
Date Picker using MaterialDatePicker Date Picker related functions only, see EnterprisePicker for more details.
MaterialDatePicker
Link copied to clipboard
class MaterialDatePicker<S> : DialogFragment
A Dialog with a header, MaterialCalendar, and set of actions.
MaterialTextInputPicker
Link copied to clipboard
class MaterialTextInputPicker<S> : PickerFragment<S>
Fragment for picking date(s) with text fields.
Month
Link copied to clipboard
class Month : Comparable<Month?> , Parcelable
Contains convenience operations for a month within a specific year.
OnSelectionChangedListener
Link copied to clipboard
abstract class OnSelectionChangedListener<S>
Listener that provides selection.
PickerFragment
Link copied to clipboard
abstract class PickerFragment<S> : Fragment
Copied from Material Library Required for updated date picker EnterpriseDatePicker to work
Preconditions
Link copied to clipboard
object Preconditions
Simple static methods to be called at the start of your own methods to verify correct arguments and state.
SingleDateSelector
Link copied to clipboard
class SingleDateSelector : DateSelector<Long?>
A DateSelector that uses a Long for its selection state.
SmoothCalendarLayoutManager
Link copied to clipboard
open class SmoothCalendarLayoutManager(context: Context?, orientation: Int, reverseLayout: Boolean) : LinearLayoutManager
Layout manager for MaterialCalendar that slows the scroll down to appear smoother for months.