Releases: thellmund/Android-Week-View
Releases · thellmund/Android-Week-View
Release 4.1.2
- Fixed: Dynamically setting the time column background via
setTimeColumnBackgroundColor()
didn't work. - Fixed: When
showFirstDayOfWeekFirst
, WeekView would sometimes show the incorrect week.
Thanks for reporting these issues, @Huakas!
Release 4.1.1
- Fixed: WeekView no longer crashes when EmojiCompat is not used in the application.
Thanks for reporting this, @Huakas!
Release 4.1
- New: Emojis in event titles and locations are now displayed correctly.
- New: When TalkBack is turned on,
WeekView
now provides accessibility support for interacting with events.
Release 4.0.1
- Fixed: Event chips no longer disappear when scrolling in some cases.
- Fixed: Multi-day all-day events are no longer cut off after the first day.
Thanks for reporting issues, MohammadB72 and verzhbitski!
Release 4.0.0
This release includes many new features and breaking changes.
- New: Providing events to
WeekView
is now easier. Check out the wiki to find out more. - New: You can use JodaTime, JSR-310, and ThreeTenABP with
WeekView
. Check out the wiki to find out more. - New: When building a
WeekViewEvent
viaWeekViewEvent.Builder
, you can pass in resource IDs for the title and location. - New: When declaring the style of a
WeekViewEvent
viaWeekViewEvent.Style.Builder
, you can pass in resource IDs for color and dimension properties. - New: You can use custom fonts with
WeekView
by settingfontFamily
,typeface
, andtextStyle
in the XML layout file. - New: You can set the text in event chips to adapt to the chip’s height by setting
isAdaptiveEventTextSize = true
orapp:adaptiveEventTextSize="true"
. - Changed:
WeekView
now uses AndroidX instead of the old Support Library. - Changed:
WeekView
is now a 100% Kotlin project. - Changed:
WeekViewLoader
is removed; use any of the newEventsLoader
s instead. - Changed: The naming of various listeners and setter methods is more unified. Check out the wiki to find out more.
- Changed: Use more extensive caching and reduce redundant
Canvas
operations for better performance. - Changed: The “now line” is now drawn over the entire width of a day.
- Changed: Event chips use anti-aliasing for smoother corner radiuses.
- Changed: The event location is displayed underneath the event title if there is enough space.
- Fixed: Live preview of
WeekView
in Android Studio is working again. - Fixed: Text is no longer being drawn outside of a too-small event chip.
- Fixed: Event clicks are no longer ignored or attributed to the wrong event.
- Fixed: A situation where both
OnEventLongClickListener
andOnEmptyViewLongClickListener
were called no longer occurs.
Thanks to everyone who contributed to this release and reported issues!
Release 3.4.2
- New: You can now choose to not restore the number of visible days on configuration changes by setting
restoreNumberOfVisibleDays
tofalse
. - Fixed:
defaultEventColor
is no longer ignored. - Fixed: The first visible day is now correctly updated when scrolling slowly.
Release 3.4.1
- Changed: The
columnGap
attribute is now applied to all days currently visible. Previously, it was not applied to the last day. - Fixed: Calling
goToDate()
no longer scrollsWeekView
to the wrong date.
Thanks to everyone who reported issues!
Release 3.4
- New: You can now use
WeekViewEvent.Builder
to build aWeekViewEvent
. - New: The styling of a
WeekViewEvent
is now done viaWeekViewEvent.Style
, which you can construct viaWeekViewEvent.Style.Builder
. You can use it to set the background color, text color, border width, border color and text strike-through of the event. - New:
WeekView
now restores the currently displayed date on configuration changes. - Fixed: Calls to
setHeaderRowTextColor()
andsetHeaderRowTextSize()
are no longer ignored. - Fixed: Calling
notifyDataSetChanged()
results inonMonthChange()
being called again. - Fixed: On the day of a time change, 3am is no longer being shown twice in the time column.
- Fixed:
onMonthChange()
is no longer called unnecessarily.
Thanks to everyone who reported issues!
Release 3.3
- New: You can now define the time range to be displayed for each day by setting
minHour
andmaxHour
in your layout XML, or by callingweekView.setMinHour()
andweekView.setMaxHour()
in your code. - New: You can now add the option to automatically scroll to the current time when
WeekView
is first displayed by settingshowCurrentTimeFirst
totrue
. - New: You can opt to use a multi-line date header by setting
singleLineHeader
tofalse
. - Fix: The attribute
showNowLine
is no longer ignored.
Thanks to @Bwaim and @Mauker1 for contributing to this release!
Release 3.2.1
This release fixes a JitPack build error, which caused an exception when adding this library to a project. Check out release 3.2 for all changes.