Fixed
Status Update
Comments
ap...@gmail.com <ap...@gmail.com> #2
Hi. Thanks for reporting this. Fixed in alpha-04
ch...@google.com <ch...@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
an...@google.com <an...@google.com>
an...@google.com <an...@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
ap...@google.com <ap...@google.com> #6
Project: platform/frameworks/support
Branch: androidx-main
commit 6c629e61be259d61a7f8b8ca7df8101643b1b74d
Author: Louis Pullen-Freilich <lpf@google.com>
Date: Tue Feb 23 21:54:21 2021
Removes Appcompat and Fragment dependencies from compose:ui:ui
Fixes: b/161814404
Test: Existing owners tests
Relnote: "compose:ui:ui no longer depends on AppCompat or Fragment. If you are using a ComposeView in your application, and you are using Fragment and/or AppCompat, make sure that you are using AppCompat 1.3+ / Fragment 1.3+ - these versions are needed to correctly set lifecycle and saved state owners required for ComposeView."
Change-Id: I1d6fa61deebc7771082d19a8268bd37b5f99194d
M activity/activity-compose/src/main/java/androidx/activity/compose/ComponentActivity.kt
M compose/material/material-icons-extended/build.gradle
M compose/ui/ui/build.gradle
M compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/ComposeView.android.kt
M lifecycle/lifecycle-viewmodel-compose/build.gradle
https://android-review.googlesource.com/1603516
Branch: androidx-main
commit 6c629e61be259d61a7f8b8ca7df8101643b1b74d
Author: Louis Pullen-Freilich <lpf@google.com>
Date: Tue Feb 23 21:54:21 2021
Removes Appcompat and Fragment dependencies from compose:ui:ui
Fixes:
Test: Existing owners tests
Relnote: "compose:ui:ui no longer depends on AppCompat or Fragment. If you are using a ComposeView in your application, and you are using Fragment and/or AppCompat, make sure that you are using AppCompat 1.3+ / Fragment 1.3+ - these versions are needed to correctly set lifecycle and saved state owners required for ComposeView."
Change-Id: I1d6fa61deebc7771082d19a8268bd37b5f99194d
M activity/activity-compose/src/main/java/androidx/activity/compose/ComponentActivity.kt
M compose/material/material-icons-extended/build.gradle
M compose/ui/ui/build.gradle
M compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/ComposeView.android.kt
M lifecycle/lifecycle-viewmodel-compose/build.gradle
Description
Version of Gradle Plugin: 4.2.0-alpha05
Version of Gradle: 6.5
Version of Java: 1.8
OS: Linux
Version of Compose: 0.1.0-dev14
The minified APK size increased to ~1.1 MB in dev13 it was ~600 KB before.
Steps to Reproduce:
1. clone git repo: git clone git@gitlab.com:compose1/compose-minimal-hello-world.git
2. compile the release APK (Key already included)
3. See that the APK size is about 600 KB
4. change compose_version to 0.1.0-dev14 in build.gradle file
5. compile the release APK
6. APK size is about 1.1 MB