java.lang.IllegalArgumentException: LazyHorizontalGrid's height should be bound by parent.
We want to have a
LazyHorizontalGrid
inside of a
LazyVerticalGrid
/
LazyColumn
to preserve efficiency in rendering large nested content sets.
Is there any solution outside of making a
LazyRow
mimic the behavior of the original
LazyHorizontalGrid
(pre 1.2.0)? It seems a little odd that we can have a dynamic sized LazyRow but not a
LazyVerticalGrid
inside a different scroll direction container
agrosner
10/17/2022, 12:56 PM
we can chunk the items into columns and have them appear per-row, but that is not optimal, as we cannot easily reuse individual items in each row upon scroll horizontal / recycle, can we?
a
Andrey Kulikov
10/19/2022, 12:48 PM
how do you want this component to look/work? is it a two dimensionally scrolling grid?