Recurpickerlib Versions Save

Recurrence picker fragment and dialog for Android, with utilities for finding recurrence dates

v2.0.2

3 years ago
  • Fixed rare crashes happening in RecurrencePickerSettings unparcelization due to Android bug on API >= 28.

v1.0.0

4 years ago
  • Recurrence picker view and dialog
  • Same recurrence options as all the other pickers
  • Default recurrences list and custom recurrence creator
  • Utilities for formatting and finding recurrences
  • Styling attributes for views
  • Settings
    • Show done and cancel buttons
    • Skip default recurrences list
    • Maximum frequency, end date and end count
    • Default end date and end count

v1.1.0

4 years ago
  • Styling attributes for strings: spinner items, option list and days of week
  • Setting to change enabled periods and end types
  • Setting to disable default recurrences list and recurrence creator separatedly
  • Method to serialize recurrence object to byte array and constructor to get it back
  • Changed license from LGPLv3.0 to MIT
  • Added French translation

v1.2.0

4 years ago
  • Setting to change default recurrences in list
  • Renamed some layout files, attributes and styles to follow conventions

v2.0.0

4 years ago
  • The library was completely rewritten in Kotlin with MVP architecture.
  • Recurrence:
    • Now immutable, can be constructed with 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:
    • Replaces Recurrence.find methods.
    • Since recurrences don't have a start date anymore, the methods of this class take a startDate parameter.
    • Start date/base date is now included in the returned list of events by default. includeStart can be set to false to prevent this.
    • Fixed yearly recurrence on Feb 29 happening every year on Feb 28.
  • RRuleFormat:
    • Now supports rule parsing.
    • Start date and isDefault no longer included to follow standard.
    • Backward-compatible with v1 RRule format.
    • This is now the recommended way of serializing recurrence objects.
  • RecurrenceSerializer:
    • Replaces Recurrence(byte[]) and Recurrence.toByteArray().
    • Backward-compatible with v1 binary format.
    • Deprecated in favor of RRule serialization.
  • UI:
    • UI was completely changed to follow material design guidelines. Google's material components and themes are used.
    • Dark theme supported out of the box.
    • UI Classes:
      • 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.
    • Navigation must now be done manually which is more flexible. For example:
      • Parent fragment opens RecurrenceListDialog.
      • User clicks on the "Custom..." item which sends the onRecurrenceListCustomClicked callback to parent fragment.
      • Parent fragment decides to show the RecurrencePickerFragment on callback.

v2.0.1

4 years ago
  • Fixed RecurrencePickerSettings not being unparceled completely.
  • Updated versions of dependencies.

v1.6.0

4 years ago
  • Added Recurrence.findRecurrencesBetween to find recurrences between two dates.
  • Added parent fragment as a callback target for the dialog.
  • Fixed date not being set in "until date" date picker dialog.

v1.5.2

4 years ago
  • Fixed German translation.

v1.5.1

4 years ago
  • Fixed default date formats not being set in dialog.

v1.5.0

4 years ago
  • Migrated to AndroidX.
  • Added 5 translations thanks to bezysoftware.