Status Update
Comments
ap...@google.com <ap...@google.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.
el...@google.com <el...@google.com>
na...@google.com <na...@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
.
sp...@gmail.com <sp...@gmail.com> #4
Are you testing on a debug or a release version of your APK?
ap...@google.com <ap...@google.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.
pr...@google.com <pr...@google.com> #6
Could you provide us with a minimal code that showcase this issue. It can be very helpful!
Description
With the changes for XPoet to build both JavaPoet and KotlinPoet specs it means that when Room is processing function that lead to invalid JVM method names, it will cause the JavaPoet side to throw an exception even if the
XProcessingConfig.excludeMethodsWithInvalidJvmSourceNames
is turned ON for Kotlin code generation.An example case where Room will encounter these is with
internal
functions that it needs to override.