Status Update
Comments
ma...@google.com <ma...@google.com>
ma...@google.com <ma...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
Author: Louis Pullen-Freilich <
Link:
Adds OverscrollEffect#withoutDrawing and OverscrollEffect#withoutEventHandling
Expand for full commit details
Adds OverscrollEffect#withoutDrawing and OverscrollEffect#withoutEventHandling
These APIs allow overscroll to have events dispatched to it by one component, and rendered in a separate component.
Fixes: b/266550551
Fixes: b/204650733
Fixes: b/255554340
Fixes: b/229537244
Test: OverscrollTest
Relnote: "Adds OverscrollEffect#withoutDrawing and OverscrollEffect#withoutEventHandling APIs - these APIs create a wrapped instance of the provided overscroll effect that doesn't draw / handle events respectively, which allows for rendering overscroll in a separate component from the component that is dispatching events. For example, disabling drawing the overscroll inside a lazy list, and then drawing the overscroll separately on top / elsewhere."
Change-Id: Idbb3d91546b49c1987a041f959bce4b2b09a9f61
Files:
- M
compose/foundation/foundation/api/current.txt
- M
compose/foundation/foundation/api/restricted_current.txt
- M
compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/OverscrollDemo.kt
- M
compose/foundation/foundation/samples/src/main/java/androidx/compose/foundation/samples/OverscrollSample.kt
- M
compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/OverscrollTest.kt
- M
compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/Overscroll.kt
Hash: f64e25b7a473c757d080521e7dd97b3f6670f60d
Date: Fri Nov 01 18:43:56 2024
aj...@gmail.com <aj...@gmail.com> #3
az...@tab-trader.com <az...@tab-trader.com> #4
ma...@google.com <ma...@google.com> #5
Thanks I think I was able to identify the issue and a potential fix
ap...@google.com <ap...@google.com> #6
Branch: androidx-main
commit f1515ea14143b5754df3dcbcb47537eee49c30f2
Author: Mariano Martin <ymarian@google.com>
Date: Thu Sep 05 13:12:04 2024
[PullToRefresh] Fix issue where graphics layer doesnt invalidate
Test: tested manually that now graphics layer invalidates, in some edge cases
where pullToRefresh is used in fragments
Bug: 356039090
Change-Id: Ib80663f6dcf2f7f05bda4189b0931ee697230698
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/pulltorefresh/PullToRefresh.kt
ma...@google.com <ma...@google.com>
pr...@google.com <pr...@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-alpha01
androidx.compose.material3:material3-android:1.4.0-alpha01
ap...@google.com <ap...@google.com> #8
Project: platform/frameworks/support
Branch: androidx-main
Author: Mariano Martin <
Link:
[WideNavigationRail] API Feedback
Expand for full commit details
[WideNavigationRail] API Feedback
Update State classes to use booleans, and current/target value.
Change expect/actual properties constructor.
Test: existing tests
Relnote: Change WideNavigationRailState to have current/target value, remove enums in favor of boolean.
Bug: 356039090
Change-Id: Idfa29aad7efd1d0e943bf175f5bcb1fc347fdf0e
Files:
- M
compose/material3/benchmark/src/androidTest/java/androidx/compose/material3/benchmark/NavigationRailBenchmark.kt
- M
compose/material3/material3/api/current.txt
- M
compose/material3/material3/api/restricted_current.txt
- M
compose/material3/material3/samples/src/main/java/androidx/compose/material3/samples/NavigationRailSamples.kt
- M
compose/material3/material3/src/androidInstrumentedTest/kotlin/androidx/compose/material3/ModalWideNavigationRailScreenshotTest.kt
- M
compose/material3/material3/src/androidInstrumentedTest/kotlin/androidx/compose/material3/ModalWideNavigationRailTest.kt
- M
compose/material3/material3/src/androidInstrumentedTest/kotlin/androidx/compose/material3/WideNavigationRailScreenshotTest.kt
- M
compose/material3/material3/src/androidInstrumentedTest/kotlin/androidx/compose/material3/WideNavigationRailTest.kt
- M
compose/material3/material3/src/androidMain/kotlin/androidx/compose/material3/WideNavigationRail.android.kt
- M
compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/WideNavigationRail.kt
- M
compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/WideNavigationRailState.kt
- M
compose/material3/material3/src/commonStubsMain/kotlin/androidx/compose/material3/WideNavigationRail.commonStubs.kt
Hash: 724c3f7eb85d05c92ce724d5c529f579d771edd4
Date: Mon Nov 18 13:19:35 2024
Description
Jetpack Compose version: 1.6.8
Material Library Version (M2, M3 or Both?): material3 1.3.0-beta05
Material Compose component used: PullToRefreshBox
Android Studio Build: Android Studio Koala | 2024.1.1 Build #AI-241.15989.150.2411.11948838
Kotlin version: 1.9.24
Possibly related to https://issuetracker.google.com/issues/343505109
Steps to Reproduce:
Video Showcase:https://www.youtube.com/shorts/xOzNCZlT45Q
Code example: