Date Selector
Interface for users of < to control how the Calendar displays and returns selections.
Implementors must implement Parcelable so that selection can be maintained through Lifecycle events (e.g., Fragment destruction).
Dates are represented as times in UTC milliseconds.
Parameters
<S>
The type of item available when cells are selected in the AdapterView
Inheritors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns a list of longs whose time value represents days that should be marked selected.
Link copied to clipboard
Returns a list of ranges whose time values represent ranges that should be filled.
Link copied to clipboard
Returns the current selection.
Link copied to clipboard
Returns the selection content description.
Link copied to clipboard
Link copied to clipboard
Returns true if the current selection is acceptable.
Link copied to clipboard
abstract fun onCreateTextInputView(@NonNull layoutInflater: LayoutInflater, @Nullable viewGroup: ViewGroup, @Nullable bundle: Bundle, @NonNull constraints: CalendarConstraints, @NonNull listener: OnSelectionChangedListener<S>): View
Link copied to clipboard
Allows this selection handler to respond to clicks within the AdapterView.
Link copied to clipboard
Sets the current selection to
selection
.Link copied to clipboard
Sets the SimpleDateFormat used to format the text input field hint and error.
Link copied to clipboard