Pick a date or time on Android in style
Pickers now inherit from AppCompatDialogFragment
rather than DialogFragment
. This makes them pickup AppCompat styling, such as dialogCornerRadius
. This shouldn't cause any big issues, but take care verifying the look before rolling out this version. (Fixes #588 and #504)
Fixed #586 - Fixed a memory leak in RadialSelectorView
Removed a redundant androidx.annotations.annotations
dependency which could cause build issues for apps relying on this library directly
Removed some memory leaks in the sample app. (Shows how to avoid leaking the pickers in your own apps)
Get it by upgrading your build.gradle to
dependencies {
implementation 'com.wdullaer:materialdatetimepicker:4.2.0'
}
Improved accessibility support in the DatePicker thanks to the awesome contribution of @laalto
Fixed #549 - Crash when changing pages in the DatePicker through accessibility commands Fixes #539 - Added content descriptions for the arrows in the DatePicker
Get it by upgrading your build.gradle
to
dependencies {
implementation 'com.wdullaer:materialdatetimepicker:4.1.0'
}
Dropped support for API 14 and 15 Switched support library for androidx libraries Fixed #451 - Changed implementation to use support fragments Updated build.gradle syntax
Fixed #485 - Cancel callback fires when hitting back button Fixed #505 - Made default values in setInterval more intuitive Fixed #457 - Read custom fonts as assets rather than resources Fixed #303 - Added a few default implementations to DateRangeLimiter
Get it by upgrading your build.gradle
to
dependencies {
compile 'com.wdullaer:materialdatetimepicker:4.0.0'
}
Fixed #499 #512 #522 - Fixed a race condition when tapping the arrows in the datepicker fast Fixed #524 - Vendored an attribute which is not necessarily present in all themes Improved documentation
Get it by upgrading your build.gradle to
dependencies {
compile 'com.wdullaer:materialdatetimepicker:3.6.4'
}