Join Slack
Powered by
Any ideas how to get `Cell`s have the same height ...
# compose
l
Lilly
04/16/2022, 11:26 PM
Any ideas how to get `Cell`s have the same height in
LazyVerticalGrid
?
j
James Black
04/17/2022, 4:52 AM
I haven't tried it but have you looked at these two pages?
https://foso.github.io/Jetpack-Compose-Playground/foundation/lazyverticalgrid/
https://alexzh.com/jetpack-compose-building-grids/
a
Andrey Kulikov
04/20/2022, 10:47 PM
you have to have fixed heights I am afraid. all cells are composed independently and can’t have the size of the largest item in the row as this will requite double measurement
l
Lilly
04/21/2022, 4:21 PM
Thanks guys and thanks for the insights Andrey
415
Views
Open in Slack
Previous
Next