SingleDateSelector

class SingleDateSelector : DateSelector<Long?>

A DateSelector that uses a Long for its selection state.

Constructors

SingleDateSelector
Link copied to clipboard
fun SingleDateSelector()

Types

CREATOR
Link copied to clipboard
object CREATOR : Parcelable.Creator<SingleDateSelector>

Properties

defaultTitleResId
Link copied to clipboard
open override val defaultTitleResId: Int
isSelectionComplete
Link copied to clipboard
open override val isSelectionComplete: Boolean
Returns true if the current selection is acceptable.
selectedDays
Link copied to clipboard
open override val selectedDays: Collection<Long>
Returns a list of longs whose time value represents days that should be marked selected.
selectedRanges
Link copied to clipboard
open override val selectedRanges: Collection<Pair<Long?, Long?>?>
Returns a list of ranges whose time values represent ranges that should be filled.

Functions

describeContents
Link copied to clipboard
open override fun describeContents(): Int
getDefaultThemeResId
Link copied to clipboard
open override fun getDefaultThemeResId(context: Context?): Int
getSelection
Link copied to clipboard
open override fun getSelection(): Long?
Returns the current selection.
onCreateTextInputView
Link copied to clipboard
open override fun onCreateTextInputView(layoutInflater: LayoutInflater, viewGroup: ViewGroup?, bundle: Bundle?, constraints: CalendarConstraints, listener: OnSelectionChangedListener<Long?>): View
select
Link copied to clipboard
open override fun select(selection: Long)
Allows this selection handler to respond to clicks within the adapter.
setSelection
Link copied to clipboard
open override fun setSelection(selection: Long?)
Sets the current selection to selection.
setSelectionDisplayString
Link copied to clipboard
open override fun setSelectionDisplayString(context: Context?, headerSelectionText: TextView?, announceDateForAccessibility: Boolean)
writeToParcel
Link copied to clipboard
open override fun writeToParcel(dest: Parcel, flags: Int)