Fixed
Status Update
Comments
di...@google.com <di...@google.com> #2
Hi. Thanks for reporting this. Fixed in alpha-04
an...@microsoft.com <an...@microsoft.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
di...@google.com <di...@google.com> #4
deleted
an...@microsoft.com <an...@microsoft.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
di...@google.com <di...@google.com> #6
We have now (as of RC01 of ui-tooling
) split the ui-tooling
in two artifacts.
ui-tooling-preview
: Contains the API definitionsui-tooling
: Contains the implementation and can be declared asdebugImplementation
This should address the problem with the activity retention.
Description
Jetpack Compose release version: 1.0-beta08 Android Studio Build:
Steps to Reproduce:
result - apk size is 60kb unnecessarily bigger
We're excluding ui-tooling from our release builds as a result, but perhaps there can be some proguard exclusions that can remove most of this impact? Should samples use debugImplementation as a best practice, putting preview functions only in debug files?