What is the Jetpack Compose alternative to View system's 'animateLayoutChanges'? 'animateLayoutChanges' was a really easy and powerful way to animate layout changes. I am not able to find a similar alternative in Jetpack Compose.
您可以使用修饰符Modifier.animateContentSize()
自动为大小更改设置动画
There's the AnimatedContent()
Composable
https://developer.android.com/jetpack/compose/animation#animatedcontent
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.