Recurrence picker fragment and dialog for Android, with utilities for finding recurrence dates
RecurrencePickerSettings
unparcelization due to
Android bug on API >= 28.Recurrence
:
Recurrence.Builder
in Java or constructor-like syntax in Kotlin.startDate
field was removed since it's a property of the event, not the recurrence.
isDefault
field was also removed. The information set in these fields is now set in byDay
and byMonthDay
.daySetting
was replaced with more standard byDay
and byMonthDay
fields.period
and endType
are now enums.RecurrenceFinder
:
Recurrence.find
methods.startDate
parameter.includeStart
can be
set to false to prevent this.RRuleFormat
:
RecurrenceSerializer
:
Recurrence(byte[])
and Recurrence.toByteArray()
.RecurrenceListDialog
: used to select a recurrence from a list of presets.RecurrencePickerDialog
: used to create a custom recurrence.RecurrencePickerFragment
: same as the dialog but as a fullscreen fragment.RecurrencePickerView
was removed, use fragment instead.RecurrenceListDialog
.onRecurrenceListCustomClicked
callback to parent fragment.RecurrencePickerFragment
on callback.RecurrencePickerSettings
not being unparceled completely.Recurrence.findRecurrencesBetween
to find recurrences between two dates.