is there any way to change contentPadding values o...
# compose
m
is there any way to change contentPadding values of a LazyColumn but skipping recomposition (maybe just layout) ?
k
Depending on how big such a change is, you might end up needing to show more elements in the row. Not sure how you would avoid recomposition.
m
sorry, its a column !
k
Same thing
m
yes, but that won’t be an issue. Is there any, idk. Maybe .layout modifier ?
c
You may be able to mimic contentPadding changes with the offset Modifier, which can skip recomposition
a
Compose is made in a way that it may recompose in every frame if needed. So I think solving the problem for which you are afraid of recomposing is better idea.