Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Hi. Thanks for reporting this. Fixed in alpha-04
jb...@google.com <jb...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit e782987543a9f8ccd485e970ddc74564b24378db
Author: Vighnesh Raut <vighnesh.raut13@gmail.com>
Date: Mon Jan 02 15:27:40 2023
fix: tab row crashes when only 1 tab is added
Bug: b/264018028
Test: Added unit test
Change-Id: I6381dbac304fc1d69d3708c6655f8b595668e93f
M tv/tv-material/src/androidTest/java/androidx/tv/material/TabRowTest.kt
M tv/tv-material/src/main/java/androidx/tv/material/TabRow.kt
https://android-review.googlesource.com/2373449
Branch: androidx-main
commit e782987543a9f8ccd485e970ddc74564b24378db
Author: Vighnesh Raut <vighnesh.raut13@gmail.com>
Date: Mon Jan 02 15:27:40 2023
fix: tab row crashes when only 1 tab is added
Bug:
Test: Added unit test
Change-Id: I6381dbac304fc1d69d3708c6655f8b595668e93f
M tv/tv-material/src/androidTest/java/androidx/tv/material/TabRowTest.kt
M tv/tv-material/src/main/java/androidx/tv/material/TabRow.kt
ma...@gmail.com <ma...@gmail.com> #4
deleted
de...@atommobility.com <de...@atommobility.com> #5
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.tv:tv-material:1.0.0-alpha04
jb...@google.com <jb...@google.com> #6
Please file a bug with a minimum sample project that reproduces this issue.
th...@gmail.com <th...@gmail.com> #7
Hi Team,
Issue is still reproducible with Gradle 7.0
Please help to fix on priority
Issue is still reproducible with Gradle 7.0
Please help to fix on priority
jb...@google.com <jb...@google.com> #8
Please file a bug with a minimum sample project that reproduces this issue.
Description
When using Navigation SafeArgs
2.4.0-alpha01
+ with Kotlin versions before1.5.0
, you get the following:This is because the
titleCase
API was not added until Kotlin1.5.0
.In
2.4.0-alpha01
+, SafeArgs must be compatible with AGP4.2.0
and as a result Gradle6.7.0
, which is compatible with Kotlin versions prior to1.5.0
.We should avoid using
titlecase
in SafeArgs until we no longer need to support older Kotlin versions. As a workaround, you can update your gradle version to7.0
+.