[英]Shared element transition in Jetpack compose
I wanted to animate my image logo from Screen A to Screen B. In XML based layouts it was possible using windowContentTransitions
& transitionName
.我想将我的图像徽标从屏幕 A 动画化到屏幕 B。在基于 XML 的布局中,可以使用
windowContentTransitions
和transitionName
。 So I wanted to ask is something similar available in Jetpack Compose ?所以我想问一下Jetpack Compose中是否有类似的东西?
I have already seen this https://github.com/mobnetic/compose-shared-element我已经看过这个https://github.com/mobnetic/compose-shared-element
But, Is there something in-built functionality similar to the XML?但是,是否有类似于 XML 的内置功能?
Not supported yet by compose. compose 尚不支持。 See this conversation on kotlin-lang: https://kotlinlang.slack.com/archives/CJLTWPH7S/p1616517641495500?thread_ts=1616516302.494300&cid=CJLTWPH7S
在 kotlin-lang 上查看此对话: https://kotlinlang.slack.com/archives/CJLTWPH7S/p1616517641495500?thread_ts=1616516302.494300&cid=CJLTWPH7S
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.