https://kotlinlang.org logo
#android
Title
# android
s

Sagar Jha

11/26/2023, 8:50 AM
Hey Everyone, I hope you all are doing great. I'm facing some issues with compose in android app development with Kotlin I have posted issue on stack overflow. Not getting any response from there that's why asking here . Please help with it and suggest me . Thank You https://stackoverflow.com/questions/77500754/lazycolumn-contains-20-textfield-components-ui-experiences-freezing-and-time-ta
s

stoyicker

11/26/2023, 10:40 AM
Hey, I'm by no means an expert in Compose but just a few days ago I faced pretty much the same issue. Further investigation with my team had us find out that, in debug builds, even having a LazyColumn where all we have is Text @Composables without any customization and a very simple string (something like "item 0", "item 1", and so on) would perform terribly. However the issue was non-existent once we built the app with the release build type and R8. Personally I don't find this as an acceptable solution as it can mask true problems with the scrolling, but if you're only concerned with the end user side of things I recommend that you try out using a release build with R8 and checking if the issue is gone there
👍 1
m

Mark Murphy

11/26/2023, 1:30 PM
FWIW #compose-android or #compose are better channels for Compose questions.