I still kinda lost in implementing a grid which wo...
# compose
o
I still kinda lost in implementing a grid which would have fixed size of cells (like, square), and will fit as much cells on a single row as possible, and then go to next row. Lazy, scrollable, etc just like
LazyVerticalGrid
. I would prefer to have
GridCells
variant like
FixedSize(32.dp, 40.dp)
out of the box, but there is none. Can anyone give me a clue, please?
May be I should just copy
FixedLazyGrid
implementation and instead of
weight
use
width
? 🤔
Nah,
IntervalList
is internal 😞
Yeah, if I copy LazyGridScopeImpl, IntervalHolder and IntervalList, and FixedLazyGrid and replace modifiers on item Box – it just works as expected.
👍 2
Submitted a request just in case https://issuetracker.google.com/issues/180827487