Is it possible to group composable to apply modifi...
# compose
i
Is it possible to group composable to apply modifier on this group? For example i have scrollable column with 50 elements, but i want to apply padding only for composables from 17 to 33. Is it possible? Note that if i wrap it to another layout then all will be collapsed no matter which layout i would to select
Understand, I can wrap they in column, but ensure that wrapper column has fixed size, for example with
Modifier.wrapContentHeight()
a
Are your 50 elements in a list or something? Is there a logic that creates them if so them you could potentially use the index of the creation to conditional add a modifier like so https://jetc.dev/slack/2020-12-13-conditional-modifiers.html
i
Thanks, question is not about your proposal, but i’ll take a note )