Skip to content

Releases: thellmund/Android-Week-View

Release 5.3.2

14 Jun 13:30
Compare
Choose a tag to compare
  • Fixed: WeekView crashed when zooming in and out when very short events were displayed.

Release 5.3.1

13 Jun 16:14
Compare
Choose a tag to compare
  • Updated: WeekView now shortens events that are outside custom time ranges.
  • Fixed: WeekView didn’t properly remove deleted events when using a PagingAdapter.
  • Fixed: WeekView crashed when using a windowBackground that wasn’t a color.
  • Fixed: WeekView crashed when dealing with certain time ranges.
  • Fixed: WeekView completely omitted the subtitle when it didn’t fit.

Release 5.3.0

03 Mar 09:29
Compare
Choose a tag to compare
  • Breaking: The deprecation level of several properties has been increased from warning to error.
  • Fixed: WeekView no longer ignores uses day background colors set in code or XML.

Release 5.2.4

14 Feb 10:02
Compare
Choose a tag to compare
  • Changed: The jsr310 module now uses core library desugaring, which allows it to be used starting at API 21 instead of API 26.

Release 5.2.3

06 Feb 09:35
Compare
Choose a tag to compare
  • Changed: The emoji module now initializes automatically on start-up. Calling weekView.enableEmojiProcessing() is no longer necessary.
  • Fixed: WeekView no longer crashes when accessing firstVisibleDate and lastVisibleDate before the initial render.
  • Fixed: WeekView now calls adapter.onRangeChanged() reliably again on API 25 and below.

Thanks for contributing, RemiNV!

Release 5.2.2

30 Dec 14:19
Compare
Choose a tag to compare
  • Changed: firstVisibleHour now returns the first partially visible hour as an Int and takes into account minHour. To retrieve the first fully visible hour, you can use firstFullyVisibleHour.
  • Fixed: WeekView now only calls onRangeChanged() when a scroll has finished. Previously, it would call it for every date that it scrolled past.
  • Fixed: WeekView now correctly preserves the first visible date when switching the number of visible days.
  • Fixed: WeekView now scrolls correctly when used in the Fragment of a ViewPager.

Thanks to everyone who reported issues!

Release 5.2.1

25 Nov 10:22
Compare
Choose a tag to compare

This release fixes a build issue introduced in the last version.

Release 5.2.0

19 Nov 22:07
Compare
Choose a tag to compare
  • New: WeekView can now display blocked times. To enable this, WeekViewEvent<T> was replaced by the sealed class WeekViewEntity, which can be of type Event<T> or BlockedTime. Refer to the wiki to get started.
  • Changed: WeekViewDisplayable<T> is now deprecated. Now, submit elements of type T directly to WeekView’s adapter by calling adapter.submitList(List<T>). Then, implement onCreateEntity() in your adapter to create a WeekViewEntity from your object.
  • Changed: The methods for scrolling to specific dates and times have been streamlined. You should now use scrollToDate(date: Calendar), scrollToTime(hour: Int, minute: Int), and scrollToDateTime(dateTime: Calendar).
  • Changed: WeekView no longer supports emojis by default. To add emoji support, you must add a dependency to com.github.thellmund.Android-Week-View:emoji:x.y.z and call weekView.enableEmojiProcessing() before submitting events.
  • Fixed: WeekView no longer forgets to call onEmptyViewLongClick() if an empty area in the calendar was long-clicked.

Release 5.0.3

10 Nov 12:57
Compare
Choose a tag to compare
  • Fixed: WeekView no longer ignores goToCurrentTime() if it’s already scrolled to the current date, but not the current time.

Thanks for reporting this, @FeFelten!

Release 5.0.2

10 Nov 09:56
Compare
Choose a tag to compare
  • Changed: WeekView no longer throws an IllegalArgumentException when goToHour() is called with an hour outside the accepted time range. Instead, it coerces the provided argument into the range of minHour and maxHour.
  • Fixed: WeekView no longer renders very short events incorrectly.
  • Fixed: WeekView no longer scrolls to the wrong time when calling goToCurrentTime().