setCrossFadeEnabled
open fun setCrossFadeEnabled(isCrossFadeEnabled: Boolean): DrawableCrossFadeFactory.Builder
Content copied to clipboard
Enables or disables animating the alpha of the Drawable the cross fade will animate from.
Defaults to false.
Parameters
isCrossFadeEnabled
If true the previous Drawable's alpha will be animated from 100 to 0 while the new Drawable's alpha is animated from 0 to 100. Otherwise the previous Drawable's alpha will remain at 100 throughout the animation. See setCrossFadeEnabled