How to make one item in LazyVerticalGrid fill all ...
# compose
a
How to make one item in LazyVerticalGrid fill all the parent width ? Scenario: LazyVerticalGrid with diffrent Lists every list should have it own header How I can implement the header to take all the width ?
o
Copy code
item(it.message.id) {
    Message(it, Modifier.fillParentMaxWidth())
}
In the lazy item scope, there is a special modifier for that UPD: Oh, didn’t notice it’s a grid, not a column
c
You need to use the span parameter of the item DSL.
👍 1
a
It works Thank you
526 Views