Hey I want to make the Height Of an Item of LazyCo...
# compose
i
Hey I want to make the Height Of an Item of LazyColumn to fill complete height.
I tried a couple of things like Modifier.fillmaxSize() and the only way it works is by hardcoding Height values in child composable
That would make it irresponsive
Any help on that would help
a
Modifier.fillParentMaxHeight()
i
This doesn't exist on 1.0.0 release
within ConstraintLayout
@Albert Chang
a
So is your item in LazyColumn or ConstraintLayout?
b
You can wrap your LazyColumn in BoxWithConstraints to get maxHeight and apply that height to your list item height.
a
@Berkeli Alashov That's not really a good way. It's unnecessary and inefficient.
🙏 2
i
Thanks alot @Albert Chang @Berkeli Alashov
y
@iamraghavawasthi pls how do you achieve frosty blur background? Not just alpha 😔
or is it just alpha?
i
@yogaboy Just saw your message, Hope I am not too late. I used Coil and applied Blur Transformation
Copy code
val painter =rememberImagePainter(
    article!!.article.img, builder =
{
    transformations(BlurTransformation(LocalContext.current))
})
and then i passed this painter to Image Component
👍🏻 1
🙏🏻 1
y
@iamraghavawasthi Thank you!