CrossfadeTransition

class CrossfadeTransition @JvmOverloads constructor(target: TransitionTarget, result: <Error class: unknown class>, val durationMillis: Int = DEFAULT_CROSSFADE_MILLIS, val preferExactIntrinsicSize: Boolean = false) : Transition

A Transition that crossfades from the current drawable to a new one.

Parameters

durationMillis

The duration of the animation in milliseconds.

preferExactIntrinsicSize

Constructors

Link copied to clipboard
constructor(target: TransitionTarget, result: <Error class: unknown class>, durationMillis: Int = DEFAULT_CROSSFADE_MILLIS, preferExactIntrinsicSize: Boolean = false)

Types

Link copied to clipboard
class Factory @JvmOverloads constructor(val durationMillis: Int = DEFAULT_CROSSFADE_MILLIS, val preferExactIntrinsicSize: Boolean = false) : Transition.Factory

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun transition()

Start the transition animation.