Status Update
Comments
mg...@google.com <mg...@google.com>
mg...@google.com <mg...@google.com> #2
As a workaround using reflection
try {
Class
.forName("androidx.compose.material3.TabRowKt")
.getDeclaredField("ScrollableTabRowMinimumTabWidth").apply {
isAccessible = true
}.set(this, 0f)
} catch (e: Exception) {
e.printStackTrace()
}
ap...@google.com <ap...@google.com> #3
ap...@google.com <ap...@google.com> #4
ap...@google.com <ap...@google.com> #5
au...@google.com <au...@google.com> #6
Project: platform/frameworks/support
Branch: androidx-main
Author: Jose Figueroa <
Link:
[Tabs] Expose minimum scrollable tab width and remove experimental tags for Primary/Secondary variants
Expand for full commit details
[Tabs] Expose minimum scrollable tab width and remove experimental tags for Primary/Secondary variants
Bug: 226665301
RelNote: "Scrollable tab row's minimum tab width is now a parameter. Primary and Secondary tab row variants are no longer experimental."
Test: Update unit test tolerance. Manual testing.
Change-Id: If6f15c267353bf23a8faaa486bd52ed2a61dd29b
Files:
- M
compose/material3/material3/api/current.txt
- M
compose/material3/material3/api/restricted_current.txt
- M
compose/material3/material3/bcv/native/current.txt
- M
compose/material3/material3/src/androidInstrumentedTest/kotlin/androidx/compose/material3/TabTest.kt
- M
compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/TabRow.kt
Hash: c1ca7e200b4e3c0ae14d4c59ac954ed1a0fd03f5
Date: Wed Feb 19 11:48:55 2025
mg...@google.com <mg...@google.com> #7
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.material3:material3:1.4.0-alpha10
androidx.compose.material3:material3-android:1.4.0-alpha10
androidx.compose.material3:material3-jvmstubs:1.4.0-alpha10
androidx.compose.material3:material3-linuxx64stubs:1.4.0-alpha10
om...@google.com <om...@google.com> #8
Why dont we just switch from a typealias to an actual class implementation that just delegates to the Java one. See
ap...@google.com <ap...@google.com> #9
Project: platform/frameworks/support
Branch: androidx-main
Author: Omar Ismail <
Link:
switch from a typealias to an actual class impl that delegates to the Java class
Expand for full commit details
switch from a typealias to an actual class impl that delegates to the Java class
This removes the error we see in b/397736115
BUG: 397736115
TESTED: Ran ./gradlew :lifecycle:lifecycle-common:compileKotlinJvm and no warnings appeared
Change-Id: I6abbf31029af2e92360dbc3ce0da34cccac3bbc5
Files:
- M
lifecycle/integration-tests/kotlintestapp/lint-baseline.xml
- M
lifecycle/lifecycle-common/src/jvmMain/kotlin/androidx/lifecycle/Lifecycle.jvm.kt
Hash: b3d343bfbea66190f4d989690c9832fee9a7cbb0
Date: Thu Mar 06 15:19:13 2025
Description
AndroidX is preparing to move to target Kotlin language version 2.0. In order to make this transition smooth, please help fix these warnings ahead of this switch. You can reproduce it with the following command: