RecurrencePickerSettings

A class for configuring the behavior of the recurrence list and picker dialogs. The class is immutable, use the Builder to create it.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The recurrence shown by default in the recurrence picker. This is shown when no recurrence or a "Does not repeat" recurrence is selected.

Link copied to clipboard

The recurrence formatter used to format the recurrences shown in the recurrence list dialog. The date format is also used to format the end dates in the recurrence picker.

Link copied to clipboard

The maximum end count that can be entered in the picker. Must be at least 1.

Link copied to clipboard

The maximum frequency that can be entered in the picker. Must be at least 1.

Link copied to clipboard

List of recurrence presets displayed in the recurrence list dialog. A null recurrence will be replaced by a "Custom..." item to customize recurrence. Hence, to disable the custom recurrence picker, set no null items. The default is a list of recurrences equivalent to "Does not repeat", "Daily", "Weekly", "Monthly", "Yearly", null ("Custom...").

Functions

Link copied to clipboard
open override fun describeContents(): Int
Link copied to clipboard
open override fun writeToParcel(parcel: Parcel, flags: Int)