Mark
04/14/2023, 5:02 AMLazyVerticalGrid
etc, suppose we want the modifier for all items in that grid to use Modifier.size(123.dp, 456.dp)
and build on top of that. Is it a valid optimisation to reuse the same Modifier.size(123.dp, 456.dp)
instance, or is there some gotcha regarding this?
val cellSizeModifier = remember {
Modifier.size(cellWidthDp, cellHeightDp)
}
LazyVerticalGrid(...
efemoney
04/14/2023, 6:24 AMMark
04/14/2023, 6:57 AMSpannable
world).