Fixed
Status Update
Comments
po...@google.com <po...@google.com>
ap...@google.com <ap...@google.com> #2
Thanks for reporting.
Unfortunately I can't reproduce it. What I tried:
class DemoActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
Scaffold {
LazyColumnFor(
items = (0..200).toList()
) {
Text(
text = "$it",
modifier = Modifier.clickable(indication = null,
onClick = {
Log.e("test", "test")
})
)
}
}
}
}
}
And this code has pretty much the same performance if I remove the clickable modifier.
Is there a chance you can share with me more complete repro project so I can debug it?
Unfortunately I can't reproduce it. What I tried:
class DemoActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
Scaffold {
LazyColumnFor(
items = (0..200).toList()
) {
Text(
text = "$it",
modifier = Modifier.clickable(indication = null,
onClick = {
Log.e("test", "test")
})
)
}
}
}
}
}
And this code has pretty much the same performance if I remove the clickable modifier.
Is there a chance you can share with me more complete repro project so I can debug it?
Description
Our linter is now warning us that Placeable.get(AlignmentLine): Int? should not box Ints. It is correct and we should fix this by perhaps using a sentinel value to replace
null
.