crossFade

open fun crossFade(): DrawableTransitionOptions
open fun crossFade(drawableCrossFadeFactory: DrawableCrossFadeFactory): DrawableTransitionOptions
open fun crossFade(builder: DrawableCrossFadeFactory.Builder): DrawableTransitionOptions

Enables a cross fade animation between both the placeholder and the first resource and between subsequent resources (if thumbnails are used).


open fun crossFade(duration: Int): DrawableTransitionOptions

Enables a cross fade animation between both the placeholder and the first resource and between subsequent resources (if thumbnails are used).

See also

Parameters

duration

The duration of the animation, see DrawableCrossFadeFactory.Builder(int)