Skip to content

Releases: thellmund/Android-Week-View

Release 5.0.1

Choose a tag to compare

@thellmund thellmund released this 03 Nov 09:51

(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

Choose a tag to compare

@thellmund thellmund released this 20 Oct 08:14

(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 SpannableString for 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 DateFormatter and TimeFormatter to format date and time labels. DateTimeInterpreter has 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 singleLineHeader attributes 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 arrangeAllDayEventsVertically to false.
  • 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 of WeekView.PagingAdapter.
  • Fixed: WeekView no longer crashes with a ConcurrentModificationException when 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 minHour is 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 minDate and maxDate.

Release 5.0.0 – Beta 4

Pre-release

Choose a tag to compare

@thellmund thellmund released this 02 Oct 08:26
  • New: WeekView now works in right-to-left mode.

Release 5.0.0 – Beta 3

Pre-release

Choose a tag to compare

@thellmund thellmund released this 01 Oct 09:20
  • New: Changes of the header height are now animated.
  • New: All-day events are now arranged vertically by default. To arrange them horizontally, set arrangeAllDayEventsVertically to false.

Release 5.0.0 – Beta 2

Pre-release

Choose a tag to compare

@thellmund thellmund released this 30 Sep 10:44
  • 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 minDate and maxDate.

Release 5.0.0 – Beta 1

Pre-release

Choose a tag to compare

@thellmund thellmund released this 28 Sep 22:14

This beta release contains new functionality and includes breaking changes. To get started, take a look at the wiki.

  • New: You can now use SpannableString for 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 DateFormatter and TimeFormatter to format date and time labels. DateTimeInterpreter has 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 singleLineHeader attributes 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 of WeekView.PagingAdapter.
  • Fixed: WeekView no longer crashes with a ConcurrentModificationException when 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 minHour is set.

Thanks for contributing, @FeFelten!

Release 4.1.6

Choose a tag to compare

@thellmund thellmund released this 10 May 16:25
42a14b8
  • Fixed: WeekView would crash if restoring the state before firstVisibleDate was initialized.

Thanks for fixing this, @shuirna!

Release 4.1.5

Choose a tag to compare

@thellmund thellmund released this 09 Feb 18:44
  • 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

Choose a tag to compare

@thellmund thellmund released this 07 Feb 00:21
b7e6413
  • Fixed: goToHour(hour) scrolled to the wrong time if minHour was set.
  • Changed: goToHour(hour) now throws an IllegalArgumentException if hour is outside of the time range constructed by minHour and maxHour.

Thanks for reporting the issue, @mkruglikov!

Release 4.1.3

Choose a tag to compare

@thellmund thellmund released this 31 Jan 00:29
71ef5b5
  • Fixed: Clicks on event chips weren't recognized after zooming in some cases.

Thanks for reporting these issues, @mkruglikov!