i

    iamraghavawasthi

    1 year ago
    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
    Albert Chang

    Albert Chang

    1 year ago
    Modifier.fillParentMaxHeight()
    i

    iamraghavawasthi

    1 year ago
    This doesn't exist on 1.0.0 release
    within ConstraintLayout
    @Albert Chang
    Albert Chang

    Albert Chang

    1 year ago
    So is your item in LazyColumn or ConstraintLayout?
    b

    Berkeli Alashov

    1 year ago
    You can wrap your LazyColumn in BoxWithConstraints to get maxHeight and apply that height to your list item height.
    Albert Chang

    Albert Chang

    1 year ago
    @Berkeli Alashov That's not really a good way. It's unnecessary and inefficient.
    i

    iamraghavawasthi

    1 year ago
    Thanks alot @Albert Chang @Berkeli Alashov
    yogaboy

    yogaboy

    1 year ago
    @iamraghavawasthi pls how do you achieve frosty blur background? Not just alpha 😔
    or is it just alpha?
    i

    iamraghavawasthi

    11 months ago
    @yogaboy Just saw your message, Hope I am not too late. I used Coil and applied Blur Transformation
    val painter =rememberImagePainter(
        article!!.article.img, builder =
    {
        transformations(BlurTransformation(LocalContext.current))
    })
    and then i passed this painter to Image Component
    yogaboy

    yogaboy

    11 months ago
    @iamraghavawasthi Thank you!