DrawableTransitionOptions

class DrawableTransitionOptions : TransitionOptions<CHILD, TranscodeType>

Contains Drawable specific animation options.

Functions

Link copied to clipboard
fun clone(): CHILD
Link copied to clipboard
open fun crossFade(): DrawableTransitionOptions
open fun crossFade(builder: DrawableCrossFadeFactory.Builder): DrawableTransitionOptions
open fun crossFade(drawableCrossFadeFactory: DrawableCrossFadeFactory): DrawableTransitionOptions
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).
Link copied to clipboard
fun dontTransition(): CHILD
Removes any existing animation put on the builder.
Link copied to clipboard
fun transition(transitionFactory: TransitionFactory<out Any>): CHILD
Uses the given TransitionFactory to build a for each request started with these TransitionOptions.
fun transition(animator: ViewPropertyTransition.Animator): CHILD
Sets an animator to run a android.view.
fun transition(viewAnimationId: Int): CHILD
Sets an android.view.animation.
Link copied to clipboard
open fun with(transitionFactory: TransitionFactory<Drawable>): DrawableTransitionOptions
Returns a DrawableTransitionOptions object that uses the given transition factory.
Link copied to clipboard
open fun withCrossFade(): DrawableTransitionOptions
open fun withCrossFade(builder: DrawableCrossFadeFactory.Builder): DrawableTransitionOptions
open fun withCrossFade(drawableCrossFadeFactory: DrawableCrossFadeFactory): DrawableTransitionOptions
open fun withCrossFade(duration: Int): DrawableTransitionOptions
Returns a DrawableTransitionOptions object that enables a cross fade animation.