transitionKey

fun Style.transitionKey(context: ComponentContext, transitionKey: String?, transitionKeyType: Transition.TransitionKeyType = TransitionKeyType.LOCAL): Style

Deprecated

Legacy transition API. Use Style.transition { } to animate changes to a component's properties or bounds, and AnimatedVisibility or AnimatedContent for enter and exit animations, all in com.facebook.litho.animation.

Sets transition key and Transition.TransitionKeyType on the View this Component mounts to. Setting this property will cause the Component to be represented as a View at mount time if it wasn't going to already.