Hello. Kinda of stupid question, but anyway 😛 Does LazyVerticalGrid have a non-lazy variant like Row and Column ?
f
Francesc
09/22/2023, 6:45 PM
isn't that just a
Column
of `Row`s? What exactly do you need besides this?
☝️ 1
m
myanmarking
09/22/2023, 7:30 PM
Following that reasoning, why do we need a LazyVerticalGrid? Isn't that just a LazyColumn of LazyRows?
myanmarking
09/22/2023, 7:30 PM
My question is simple. I dont need any help or that. Just asking about this specific case
f
Francesc
09/22/2023, 8:44 PM
well, LazyVerticalGrid has the column size (either dp or adaptive), and you can also do spans (an item takes multiple columns), but you can achieve all this with rows and columns if you don't want the lazy part. At a push, you could create your own composable that works similarly to LazyVerticalGrid by accepting spans, but unless you intent to use this in several places, it may not be worth the effort
👍 1
Francesc
09/22/2023, 8:45 PM
I guess you could also create your own DSL for this if you intent to reuse it in multiple places