Status Update
Comments
vi...@gmail.com <vi...@gmail.com> #2
I have a LazyVerticalGrid composable with around 100 elements (2 columns) and the scroll is already very laggy. With a SmallAppBar and a scrollbehavior, it is now very very laggy.
ma...@google.com <ma...@google.com>
sg...@google.com <sg...@google.com> #3
Is this a LazyColumn
/LazyVerticalGrid
performance issue?
We've ported the behavior to material
(not material3
) and whenever LazyColumn
's size and position were being adjusted during a scroll, the scrolling was laggy.
We've also tried to make LazyColumn
fill the whole screen and adjust its contentPadding
instead, but we got the same result. The scrolling was laggy while contentPadding
was being adjusted.
Once the bar is collapsed, the performance seems okay again.
We use ExitUntilCollapsedScrollBehavior
.
vi...@gmail.com <vi...@gmail.com> #4
Are you testing on a debug or a release version of your APK?
vi...@gmail.com <vi...@gmail.com> #5
We tried both. It's a bit better in release version but not good enough for production use.
We tested on physical Pixel 3a with API 32.
il...@gmail.com <il...@gmail.com> #6
Could you provide us with a minimal code that showcase this issue. It can be very helpful!
to...@gmail.com <to...@gmail.com> #7
Might be related to
Will keep this one open for now until the fix is merged and pushed for the next alpha.
sg...@google.com <sg...@google.com>
sg...@google.com <sg...@google.com>
ap...@google.com <ap...@google.com> #8
Possibly fixed/duplicated by
Description
Jetpack Compose component used: CenterAlignedTopAppBar
Android Studio Build: #AI-223.8836.35.2231.10406996
Kotlin version: 1.9.0
Steps to Reproduce or Code Sample to Reproduce:
Here is github link:
Video that shows the issue is in attachments.