transitionx / in.arunkumarsampath.transitionx.transition.changecolor / ChangeColor

ChangeColor

class ChangeColor : Transition

This transition tracks changes during scene changes to the background property of its target views (when the background is a ColorDrawable, as well as the TextView.setTextColor of the text for target TextViews. If the color changes between scenes, the color change is animated.

Constructors

<init>

ChangeColor()

This transition tracks changes during scene changes to the background property of its target views (when the background is a ColorDrawable, as well as the TextView.setTextColor of the text for target TextViews. If the color changes between scenes, the color change is animated.

Functions

captureEndValues

fun captureEndValues(transitionValues: TransitionValues): Unit

captureStartValues

fun captureStartValues(transitionValues: TransitionValues): Unit

createAnimator

fun createAnimator(sceneRoot: ViewGroup, startValues: TransitionValues?, endValues: TransitionValues?): Animator?