Home > OS >  Jetpack Compose: Fixing one element to another
Jetpack Compose: Fixing one element to another

Time:10-11

Let's say I have a default Card element with some things in it and a LazyColumn. So, is it possible to fix somehow a LazyColumn to the bottom of the card (that is not about StickyHeader)? Basically, I want this Card not to hover above the LazyColumn.

enter image description here

CodePudding user response:

Just put them both in a Column:

Column {
    Card {
        // ...
    }
    LazyColumn(...) {
       // ...
    }
}
  • Related