SingleDateSelector

A DateSelector that uses a Long for its selection state.

Constructors

Link copied to clipboard
constructor()

Properties

Functions

Link copied to clipboard
open fun describeContents(): Int
Link copied to clipboard
open fun getDefaultThemeResId(context: Context): Int
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
open fun onCreateTextInputView(@NonNull layoutInflater: LayoutInflater, @Nullable viewGroup: ViewGroup, @Nullable bundle: Bundle, constraints: CalendarConstraints, @NonNull listener: OnSelectionChangedListener<Long>): View
Link copied to clipboard
open fun select(selection: Long)
Allows this selection handler to respond to clicks within the AdapterView.
Link copied to clipboard
open fun setSelection(@Nullable selection: Long)
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
open fun writeToParcel(@NonNull dest: Parcel, flags: Int)