transition

fun transition(viewAnimationId: Int): CHILD

Sets an android.view.animation.Animation to run on the wrapped target when an resource load finishes. Will only be run if the resource was loaded asynchronously (i.e. was not in the memory cache).

Return

This request builder.

Parameters

viewAnimationId

The resource id of the android.view.animation.Animation to use as the transition.


fun transition(animator: ViewPropertyTransition.Animator): CHILD

Sets an animator to run a android.view.ViewPropertyAnimator on a view that the target may be wrapping when a resource load finishes. Will only be run if the load was loaded asynchronously (i.e. was not in the memory cache).

Return

This request builder.

Parameters

animator

The .Animator to run.


fun transition(transitionFactory: TransitionFactory<out Any>): CHILD

Uses the given TransitionFactory to build a for each request started with these TransitionOptions.

Return

This request builder.