-
public final class TransitionExtensionKt
-
-
Method Summary
Modifier and Type Method Description final static UnitonTransformationStartContainer(Activity $self)sets an exit shared element callback to activity for implementing shared element transition. final static UnitonTransformationStartContainer(Fragment $self)sets an exit shared element callback to fragment for implementing shared element transition. final static UnitonTransformationEndContainer(Activity $self, TransformationLayout.Params params)sets an enter shared element callback to activity for implementing shared element transition. final static UnitonTransformationEndContainer(Fragment $self, TransformationLayout.Params params)sets an enter shared element callback to fragment for implementing shared element transition. final static FragmentTransactionaddTransformation(FragmentTransaction $self, TransformationLayout transformationLayout, String transitionName)adds a shared element transformation to FragmentTransaction. final static FragmentTransactionaddTransformation(FragmentTransaction $self, TransformationLayout transformationLayout)adds a shared element transformation to FragmentTransaction. -
-
Method Detail
-
onTransformationStartContainer
final static Unit onTransformationStartContainer(Activity $self)
sets an exit shared element callback to activity for implementing shared element transition.
-
onTransformationStartContainer
final static Unit onTransformationStartContainer(Fragment $self)
sets an exit shared element callback to fragment for implementing shared element transition.
-
onTransformationEndContainer
final static Unit onTransformationEndContainer(Activity $self, TransformationLayout.Params params)
sets an enter shared element callback to activity for implementing shared element transition.
-
onTransformationEndContainer
final static Unit onTransformationEndContainer(Fragment $self, TransformationLayout.Params params)
sets an enter shared element callback to fragment for implementing shared element transition.
-
addTransformation
@JvmOverloads() final static FragmentTransaction addTransformation(FragmentTransaction $self, TransformationLayout transformationLayout, String transitionName)
adds a shared element transformation to FragmentTransaction.
-
addTransformation
@JvmOverloads() final static FragmentTransaction addTransformation(FragmentTransaction $self, TransformationLayout transformationLayout)
adds a shared element transformation to FragmentTransaction.
-
-
-
-