Releases: hmrc/android-components
Releases · hmrc/android-components
3.20.0
Changed
-
Updated
MenuPanelRowView
notifications to add support for 'New' badge.
To show the notification you now need to provide the type of notification as a parameter:showNotification(notificationType: Notification)
Notification types:Count(val count: Int = 0)
,New
,None
.
Default for panel isNone
and this does not need to be set.
Default ofCount
just shows a dot, and a count value does not need to be provided, this is the default state ofshowNotification()
. -
Refactored dependencies and updated the following:
- kotlin version: 1.5.20 -> 1.5.31
- hmrc spotless plugin: 1.0.0 -> 1.1.1
- detekt: 1.6.0 -> 1.18.1
3.19.0
- Updated
StatusView
to improve support for vectors that are more than 100dp wide
3.18.0
3.17.1
- Updated
hmrc_grey_1
colour to match the GOV palette
3.17.0
Added
- Added
setOnClickListener(clickHandler: () -> Unit)
andsetChevronContentDescription(description: CharSequence)
methods toHeadlineCardView
.
3.16.0
Added
- Exposed the
setTextFocusable(focusable: Boolean)
for use inMultiColumnRow
and providedisTextFocusable
for setting this in xml.
3.15.1
3.15.0
Removed
- Removed the
ExpandingRowView
component
3.14.3
Changed
- Improved keyboard navigation for
TextInputView
3.14.2
Added
- Added
isScreenReaderEnabled()
extension forContext
inContextExt.kt
- Added
dpToPx()
extension forFloat
inFloatExtensions.kt
Changed
- Improved announcement of errors for
TextInputView