alp
03/14/2023, 4:07 AMModifier.animateItemPlacement
, does anybody know if there is any api/approach for regular Row/Column? I’m aware of AnimatedContent
but couldn’t make it work after a quick prototyping sessionchanjungskim
03/14/2023, 7:23 AMalp
03/14/2023, 4:24 PMchildren
composables that I render in a Row
. I want to animate item addition/removal as children
udpatedchanjungskim
03/14/2023, 4:45 PMalp
03/14/2023, 5:14 PMRow {
children.forEach { child->
child.Ui()
}
}
children
is a State<List<Component>>
where Component is :
interface Component {
@Composable
fun Ui()
}
children
change, the row updates but there is no addition/removal animation (which is expected since Row/Column don’t support that out of the box)