Is there is any to achieve Weight like behavior in...
# compose
s
Is there is any to achieve Weight like behavior in LazyColumn I have 1 item taking 100 dp and I want 2 item to fill the remaining space not fill the entire screen?
d
I don't know the answer. Why do you use LazyColumn in the first place?
a
there is a
verticalArrangement
param. I don’t think there is any predefined arrangement for exactly that behaviour, but you can pretty easily write your own arrangement
s
@Andrey Kulikov BoxWithConstraints is the easiest solution that work for me. but not sure in terms of performance.