Fixed
Status Update
Comments
[Deleted User] <[Deleted User]> #2
Hi. Thanks for reporting this. Fixed in alpha-04
il...@google.com <il...@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
an...@google.com <an...@google.com> #4
deleted
il...@google.com <il...@google.com>
il...@google.com <il...@google.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
Description
Version used: 2.1.0-beta01
Devices/Android versions reproduced on: Compilation
After upgrading, I quickly got the following erros on my CI :
After checking a bit which dependency include jacocoagent, I found the culprits (ViewPager 2 does too) :
+--- androidx.navigation:navigation-ui-ktx:2.1.0-beta01
| +--- org.jetbrains.kotlin:kotlin-stdlib:1.3.40 -> 1.3.41 (*)
| +--- androidx.navigation:navigation-ui:[2.1.0-beta01] -> 2.1.0-beta01
| | +--- com.google.android.material:material:1.0.0 -> 1.1.0-alpha08 (*)
| | +--- org.jacoco:org.jacoco.agent:0.8.3
| | +--- androidx.navigation:navigation-runtime:[2.1.0-beta01] -> 2.1.0-beta01 (*)
| | \--- androidx.transition:transition:1.0.1 (*)
| \--- androidx.navigation:navigation-runtime-ktx:[2.1.0-beta01] -> 2.1.0-beta01 (*)
Is that normal ? If it is, what can we do to avoid lint from failing ?