Status Update
Comments
ro...@gmail.com <ro...@gmail.com> #2
I cannot repro this exactly do you need?
var isRefreshing by rememberSaveable { mutableStateOf(false) }
I think my latest change helps with these kind of issues too
But It hasn't been released yet.
Any chance you can upload the full sample on github, so I can double check?
ma...@google.com <ma...@google.com>
on...@aol.com <on...@aol.com> #3
on...@aol.com <on...@aol.com> #5
Thanks I think I was able to identify the issue and a potential fix
sg...@google.com <sg...@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
sg...@google.com <sg...@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
ma...@google.com <ma...@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
sg...@google.com <sg...@google.com> #10
Oh.. Actually the fix was for exitUntilCollapsedScrollBehavior
. Reopening.
sg...@google.com <sg...@google.com>
ap...@google.com <ap...@google.com> #11
Project: platform/frameworks/support
Branch: androidx-main
Author: Shalom Gibly <
Link:
Remember top and bottom app bar behaviors
Expand for full commit details
Remember top and bottom app bar behaviors
Update the exitAlwaysScrollBehavior and pinnedScrollBehavior to be
remembered across compositions.
This follows that was previously done at the enterAlwaysScrollBehavior.
Bug: 207957336
Test: Manual
Relnote: "Scroll behavior functions for top and bottom app bars now
return a remembered behavior to perform better across recompositions."
Change-Id: I0fdbe6e2ffb01d97b4c57d3a41a76f8531a2d72a
Files:
- M
compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/AppBar.kt
Hash: c41d112fa72e1a0dc445a90cfc83306868c6aa31
Date: Fri Nov 15 14:02:50 2024
Description
val scrollBehavior = remember { TopAppBarDefaults.enterAlwaysScrollBehavior() }
Scaffold(
modifier = Modifier.nestedScroll(scrollBehavior.nestedScrollConnection) // this makes scroll very slow and leggy
){
LazyColumn(
content = {}
)
}