简体   繁体   English

Jetpack compose 中的共享元素转换

[英]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 的布局中,可以使用windowContentTransitionstransitionName 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 的内置功能?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM