Skip to content

Releases: wdullaer/MaterialDateTimePicker

MaterialDateTimePicker v3.3.0

20 Aug 08:33
Compare
Choose a tag to compare

Changes

Improvements

Improves #357 - TimePickerDialog#setSelectableTimes is now backed by a TreeSet internally for a better performance
Fixes #336 - Added TimePickerDialog#setDisabledTimes method
Added the option of passing in a custom TimepointLimiter

Get it by upgrading your build.gradle to

dependencies {
  compile 'com.wdullaer:materialdatetimepicker:3.3.0'
}

MaterialDateTimePicker v3.2.3

15 Aug 15:00
Compare
Choose a tag to compare

Changes

Improvements

Added hashCode() method to Timepoint
Added annotations to DateRangeLimiter (to prevent issues like #393 and #394)
Fixed #390 - Updated to support library v26.0.1

Bugfixes

Fixed #386 - Fixed some flaky ID creation in RelativeLayouts

Get it by upgrading your build.gradle to

dependencies {
  compile 'com.wdullaer:materialdatetimepicker:3.2.3'
}

MaterialDateTimePicker v3.2.2

25 May 18:35
Compare
Choose a tag to compare

Changes

Bugfixes

Fixed #355 - Rounding didn't work properly when releasing a drag in the TimePickerDialog

Get it by upgrading your build.gradle to

dependencies {
  compile 'com.wdullaer:materialdatetimepicker:3.2.2'
}

MaterialDateTimePicker v3.2.1

13 May 10:18
Compare
Choose a tag to compare

Changes

Bugfixes

Fixed #349 - DefaultDateRangeLimiter wasn't serializable, leading to IO exceptions when the Activity paused
Fixed #346 - Changing the DatePickerDialog swipe orientation wasn't supposed to be public yet

Get it by upgrading your build.gradle to

dependencies {
  compile 'com.wdullaer:materialdatetimepicker:3.2.1'
}

MaterialDateTimePicker v3.2.0

26 Apr 23:55
Compare
Choose a tag to compare

Changes

Features

Fixed #312 - Datepicker is now a RecyclerView (preparing for horizontal scrolling)
Fixed #339 - Added overloaded getInstance() methods which default the current selection to the current date / time
Fixed #326 - Extracted date limiting functionality into an interface, so it's easier to supply custom logic

Bugfixes

Fixed #337 - Made OnDateChangedListener protected, so subclasses can use it
Fixed #332 - Updated support library dependency

Get it by upgrading your build.gradle to

dependencies {
  compile 'com.wdullaer:materialdatetimepicker:3.2.0'
}

MaterialDateTimePicker v3.1.3

02 Mar 16:01
Compare
Choose a tag to compare

Changes

Bugfixes

Fixed #293 - Prefixed layout item ids with mdtp_ so they no longer clash with ids in other libraries
Fixed #307 - Fixed a NullPointerException on API <16

Get it by upgrading your build.gradle to

dependencies {
  compile 'com.wdullaer:materialdatetimepicker:3.1.3'
}

MaterialDateTimePicker v3.1.2

17 Feb 13:55
Compare
Choose a tag to compare

Changes

Bugfixes

Fixed #287 - Fixes regression when dragging in the TimePickerDialog
Fixed #307 - Remove calls to API 16 methods
Fixed #310 - Fix month rendering when using custom timezone
Fixed #316 - Clone the arguments of setMinDate and setMaxDate

Get it by upgrading your build.gradle to

dependencies {
  compile 'com.wdullaer:materialdatetimepicker:3.1.2'
}

MaterialDateTimePicker v3.1.1

28 Jan 17:15
Compare
Choose a tag to compare

Changes

Bugfixes

Fixed #305 - Reduced time label size slightly so it displays properly on smaller resolutions
Fixed #299 - Time picker would not properly constrain selections when dragging in the hour view
Fixed #304 - Improved performance of limiting date selections
Fixed #300 - Date would not format correctly when using the new TimeZone feature

Get it by upgrading your build.gradle to

dependencies {
  compile 'com.wdullaer:materialdatetimepicker:3.1.1'
}

MaterialDateTimePicker v3.1.0

14 Jan 19:42
Compare
Choose a tag to compare

Changes

Bugfixes

Fixed #287 - The Timepicker would not keep the hour fixed when rounding to an acceptable time.

Features

Fixed #284 #285 - By popular demand: Colors of the OK and Cancel button can now be set in the Dialog builder
Fixed #294 #289 - You can now set a specific timezone for the internal representation of dates

Get it by upgrading your build.gradle to

dependencies {
  compile 'com.wdullaer:materialdatetimepicker:3.1.0'
}

MaterialDateTimePicker v3.0.0

20 Nov 11:19
Compare
Choose a tag to compare

Changes

This release adds a new layout options for both pickers. This one is more in line with the updated Material Design guidelines google published when releasing Marshmallow. I haven't been able to commit as much time to this project as a used to and as such these changes have been due for well over a year.

The DatePickerDialog is not completely finished. I still need to add horizontal scrolling to and tweak some of the margins. However I chose to release it, to get some feedback and gain some development speed (I don't have to continuously rebase master now).

The new layout is also the default layout. You will have to explicitly set the layout version to Version.VERSION_1 if you don't want to use it.

Furthermore, the TimePickerDialog callback has been changed to return the actual TimePickerDialog rather than the RadialPickerLayout subcomponent. This is helpful when you reuse the callback for different pickers and need to distinguish them by tag.

Features

Fixed #261 - TimePickerDialog callback now takes a TimePickerDialog argument
Fixed #97 #62 #27 - First iteration of Marshmallow style layout.

Get it by upgrading your build.gradle to

dependencies {
  compile 'com.wdullaer:materialdatetimepicker:3.0.0'
}