https://kotlinlang.org logo
#compose
Title
# compose
t

Tlaster

08/20/2021, 4:40 AM
Is there any further plan to improve LazyColumn performance?
☝️ 1
Sample code here:
Copy code
MaterialTheme {
    Scaffold {
        LazyColumn {
            items(1000) {
                Text(text = it.toString(), modifier = Modifier.fillParentMaxWidth())
            }
        }
    }
}
Compose version 1.0.1
a

allan.conda

08/20/2021, 4:58 AM
is that release build?
👆 3
w

Will Shelor

08/20/2021, 5:10 AM
Test it in Release mode. It makes a huge difference. Specifically, Release with R8 enabled is around 3x faster than debug builds.
🙏 1