Skip to content

Releases: gantonious/MaterialDayPicker

Version 0.7.4 - Better Configuration + Bug fixes

06 Jan 16:02
e24c18c
Compare
Choose a tag to compare
  • You can now manually override the first day of the week shown in the picker by using the newly added firstDayOfWeek property

This release can be downloaded from jcenter by adding the following to your project's build.gradle file:

dependencies {
    implementation 'ca.antonious:materialdaypicker:0.7.4'
}

Version 0.7.3 - Better Configuration + Bug fixes

08 Oct 12:58
e4453a3
Compare
Choose a tag to compare
  • Upgraded MaterialDayPicker to target API 30 and upgraded its AndroidX dependencies

This release can be downloaded from jcenter by adding the following to your project's build.gradle file:

dependencies {
    implementation 'ca.antonious:materialdaypicker:0.7.3'
}

Version 0.7.2 - Better Configuration + Bug fixes

08 Mar 22:39
202d414
Compare
Choose a tag to compare

Bug fixes

  • Fixes a bug when using android gradle plugin 3.6.1 that would cause building to fail due to not being able to find the selectionMode attribute.

This release can be downloaded from jcenter by adding the following to your project's build.gradle file:

dependencies {
    implementation 'ca.antonious:materialdaypicker:0.7.2'
}

Version 0.7.1 - Better Configuration + Bug fixes

29 Jan 23:48
87a5ae9
Compare
Choose a tag to compare

Bug fixes

  • Fixes an issue where calling setSelectedDays would cause selected days to flash off and on.

This release can be downloaded from jcenter by adding the following to your project's build.gradle file:

dependencies {
    implementation 'ca.antonious:materialdaypicker:0.7.1'
}

Version 0.7.0 - Better Configuration

16 Jan 01:30
f3019e6
Compare
Choose a tag to compare

Configuration Improvements

  • You can now enable/disable days from being selected using enableDay/disableDay methods. See more below.
  • You can now set the selection mode via xml by using the app:selectionMode attribute.

This release can be downloaded from jcenter by adding the following to your project's build.gradle file:

dependencies {
    implementation 'ca.antonious:materialdaypicker:0.7.0'
}

Version 0.6.0 - Handle Device Configuration

19 Oct 13:10
e51c63f
Compare
Choose a tag to compare

Localization

  • Added device locale support. The day toggles are now rendered in the device's language and the first toggle will match the first day of the week for the device's locale.
  • If using the device locale is not desired, the locale can be overridden using materialDayPicker.local = ....

Dark Mode Support

  • Added default night mode color assets.

Configuration Improvements

  • Default colours are now based on the app's colorPrimary and colorPrimaryDark color values.
  • Text color can now be customized for both selected/deselected states by overriding the daySelectedTextColor and dayDeselectedTextColor colors respectively.

This release can be downloaded from jcenter by adding the following to your project's build.gradle file:

dependencies {
    implementation 'ca.antonious:materialdaypicker:0.6.0'
}

Version 0.5.0 - Internal Improvements

28 Sep 15:40
4a19dd0
Compare
Choose a tag to compare
  • Migrated library to AndroidX
  • Migrated library to Kotlin while maintaining Java compatibility
  • Added KDocs to all public APIs

This release can be downloaded from jcenter by adding the following to your project's build.gradle file:

dependencies {
    implementation 'ca.antonious:materialdaypicker:0.5.0'
}

Version 0.4.0 - Selection Modes

28 Sep 15:32
1bed5c0
Compare
Choose a tag to compare

Introduces Selection Modes that can be used to intercept user selections and transform it to the next state of day selections. This release ships with two selection modes:

DefaultSelectionMode

  • Same functionality as previous versions. You can select/deselect as many days as you like

SingleSelectionMode

  • When the user selects a new day the last selected day will be deselected

To change the selection selection mode do:

materialDayPicker.setSelectionMode(SingleSelectionMode.create());

If you need custom selection behaviour you can implement your own SelectionMode.

This release can be downloaded from jcenter by adding the following to your project's build.gradle file:

dependencies {
    implementation 'ca.antonious:materialdaypicker:0.4.0'
}