Assigned
Status Update
Comments
ma...@google.com <ma...@google.com>
kl...@google.com <kl...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit b90079595f33f58fece04026a97faa0d243acdb1
Author: Yuichi Araki <yaraki@google.com>
Date: Wed Sep 18 16:55:49 2019
Change the way to detect mismatch between POJO and query
This fixes cursor mismatch warnings with expandProjection.
Bug: 140759491
Test: QueryMethodProcessorTest
Change-Id: I7659002e5e0d1ef60fc1af2a625c0c36da0664d8
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PojoRowAdapter.kt
M room/compiler/src/test/kotlin/androidx/room/processor/QueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/TestProcessor.kt
https://android-review.googlesource.com/1123258
https://goto.google.com/android-sha1/b90079595f33f58fece04026a97faa0d243acdb1
Branch: androidx-master-dev
commit b90079595f33f58fece04026a97faa0d243acdb1
Author: Yuichi Araki <yaraki@google.com>
Date: Wed Sep 18 16:55:49 2019
Change the way to detect mismatch between POJO and query
This fixes cursor mismatch warnings with expandProjection.
Bug: 140759491
Test: QueryMethodProcessorTest
Change-Id: I7659002e5e0d1ef60fc1af2a625c0c36da0664d8
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PojoRowAdapter.kt
M room/compiler/src/test/kotlin/androidx/room/processor/QueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/TestProcessor.kt
Description
Jetpack Compose version: 1.2.0-rc03
Jetpack Compose component(s) used: BasicTextField, LazyRow.
Android Studio Build: #AI-212.5712.43.2112.8609683, built on May 18, 2022
Kotlin version: 1.7.0
Description: I have a TextField inside horizontally scrollable Box as an item of the LazyRow. TextField has fixed width and horizontal padding so it's clipped until scrolled to. When I tap on the TextField, the first scrollable parent of the composable (LazyRow) gets scrolled but its child (Box with horizontalScroll modifier) is not which leads to broken UI.
How to Reproduce: Run code sample and tap on the TextField.
Code Sample to Reproduce:
Expected: Horizontally scrollable Box is scrolled first, the TextField is visible and not clipped. LazyRow is not scrolled.
Actual: The TextField is clipped, Horizontally scrollable Box is not scrolled at all, LazyRow is scrolled so the next item becomes visible.