Releases: thellmund/Android-Week-View
Releases · thellmund/Android-Week-View
Release list
Release 5.0.1
(2020-11-03)
- Fixed: WeekView no longer handles events incorrectly if their time zone is different from the device’s time zone.
- Fixed: WeekView no longer renders the bottom border of multi-day events incorrectly.
Release 5.0.0
(2020-10-20)
This release contains new functionality and includes breaking changes. To get started, take a look at the wiki.
- New: WeekView now works in right-to-left mode.
- New: You can now use
SpannableStringfor event titles and locations to provide custom styling. - New: You can now choose to show the current week number in the header.
- New: You can now elevate the header by providing a header row bottom shadow.
- New: You can now set the text color for weekend date labels via
weekendTextColor. - Changed: WeekView now relies on
WeekView.Adapter<T>for submitting events and providing callbacks. As a consequence, all listeners used for click and scroll callbacks have been removed. - Changed: WeekView now uses
DateFormatterandTimeFormatterto format date and time labels.DateTimeInterpreterhas been deprecated and will be removed soon. - Changed: WeekView now scrolls more naturally. In the process, multiple scrolling-related attributes have been deprecated.
- Changed: WeekView now automatically handles newline characters in date labels. As a consequence, the
singleLineHeaderattributes has been removed. - Changed: WeekView now animates changes to the header height.
- Changed: WeekView now shows all-day events in a vertical arrangement by default. To arrange them horizontally, set
arrangeAllDayEventsVerticallytofalse. - Changed: WeekView no longer uses a generic. As a consequence, you no longer need to use
findViewById<WeekView<T>>. - Changed: WeekView no longer replaces events of months that have already been cached when using a paginated approach. To force-refresh the cache, call
refresh()on an implementation ofWeekView.PagingAdapter. - Fixed: WeekView no longer crashes with a
ConcurrentModificationExceptionwhen submitting new events in quick succession. - Fixed: WeekView no longer renders borders of multi-day events incorrectly.
- Fixed: WeekView no longer draws the day background incorrectly when
minHouris set. - Fixed: WeekView no longer keeps outdated events around if an empty list of events was submitted through
WeekView.SimpleAdapter. - Fixed: WeekView no longer uses incorrect dates for
minDateandmaxDate.
Release 5.0.0 – Beta 4
- New: WeekView now works in right-to-left mode.
Release 5.0.0 – Beta 3
- New: Changes of the header height are now animated.
- New: All-day events are now arranged vertically by default. To arrange them horizontally, set
arrangeAllDayEventsVerticallytofalse.
Release 5.0.0 – Beta 2
- New: You can now set the text color for weekend date labels via
weekendTextColor. - Fixed: WeekView no longer keeps outdated events around if an empty list of events was submitted through
WeekView.SimpleAdapter. - Fixed: WeekView no longer uses incorrect dates for
minDateandmaxDate.
Release 5.0.0 – Beta 1
This beta release contains new functionality and includes breaking changes. To get started, take a look at the wiki.
- New: You can now use
SpannableStringfor event titles and locations to provide custom styling. - New: You can now choose to show the current week number in the header.
- New: You can now elevate the header by providing a header row bottom shadow.
- Changed: WeekView now relies on
WeekView.Adapter<T>for submitting events and providing callbacks. As a consequence, all listeners used for click and scroll callbacks have been removed. - Changed: WeekView now uses
DateFormatterandTimeFormatterto format date and time labels.DateTimeInterpreterhas been deprecated and will be removed soon. - Changed: WeekView now scrolls more naturally. In the process, multiple scrolling-related attributes have been deprecated.
- Changed: WeekView now automatically handles newline characters in date labels. As a consequence, the
singleLineHeaderattributes has been removed. - Changed: WeekView no longer uses a generic. As a consequence, you no longer need to use
findViewById<WeekView<T>>. - Changed: WeekView no longer replaces events of months that have already been cached when using a paginated approach. To force-refresh the cache, call
refresh()on an implementation ofWeekView.PagingAdapter. - Fixed: WeekView no longer crashes with a
ConcurrentModificationExceptionwhen submitting new events in quick succession. - Fixed: WeekView no longer renders borders of multi-day events incorrectly.
- Fixed: WeekView no longer draws the day background incorrectly when
minHouris set.
Thanks for contributing, @FeFelten!
Release 4.1.6
- Fixed: WeekView would crash if restoring the state before
firstVisibleDatewas initialized.
Thanks for fixing this, @shuirna!
Release 4.1.5
- Fixed: WeekView would crash on submitting new events when the previous submit was an empty list of events.
Thanks for reporting the issue, @michaelbukachi!
Release 4.1.4
- Fixed:
goToHour(hour)scrolled to the wrong time ifminHourwas set. - Changed:
goToHour(hour)now throws anIllegalArgumentExceptionifhouris outside of the time range constructed byminHourandmaxHour.
Thanks for reporting the issue, @mkruglikov!
Release 4.1.3
- Fixed: Clicks on event chips weren't recognized after zooming in some cases.
Thanks for reporting these issues, @mkruglikov!