DrawableCrossFadeTransition
A cross fade Transition for android.graphics.drawable.Drawables that uses an android.graphics.drawable.TransitionDrawable to transition from an existing drawable already visible on the target to a new drawable. If no existing drawable exists, this class can instead fall back to a default animation that doesn't rely on .
Constructors
Link copied to clipboard
open fun DrawableCrossFadeTransition(duration: Int, isCrossFadeEnabled: Boolean)
Content copied to clipboard
Functions
Link copied to clipboard
open fun transition(current: Drawable, adapter: Transition.ViewAdapter): Boolean
Content copied to clipboard
Animates from the previous drawable to the current drawable in one of two ways.