crossFade

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

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): BitmapTransitionOptions

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).