I want to achieve sticky footer using jetpack compose like in screenshot.
A is scrollable list of row items. When A is smaller than screen(or parent) size, B (footer) should be placed bellow the last row. When A+B are bigger than screen size, then B becomes fixed at the bottom and A content is scrollable. I’m wondering if there is easy way to achieve this, using compose ConstraintLayout.
03/31/2022, 2:55 PM
You just need to have both in a Column and use Modifier.weight(1f,false) on A