BitmapTransitionOptions

class BitmapTransitionOptions : TransitionOptions<CHILD, TranscodeType>

Contains Bitmap specific animation options.

Functions

Link copied to clipboard
fun clone(): CHILD
Link copied to clipboard
open fun crossFade(): BitmapTransitionOptions
open fun crossFade(builder: DrawableCrossFadeFactory.Builder): BitmapTransitionOptions
open fun crossFade(drawableCrossFadeFactory: DrawableCrossFadeFactory): BitmapTransitionOptions
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).
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 transitionUsing(drawableCrossFadeFactory: TransitionFactory<Drawable>): BitmapTransitionOptions
Enables a any Drawable based animation to run on Bitmaps as well.
Link copied to clipboard
open fun with(transitionFactory: TransitionFactory<Bitmap>): BitmapTransitionOptions
Returns a BitmapTransitionOptions object that uses the given transition factory.
Link copied to clipboard
open fun withCrossFade(): BitmapTransitionOptions
open fun withCrossFade(builder: DrawableCrossFadeFactory.Builder): BitmapTransitionOptions
open fun withCrossFade(drawableCrossFadeFactory: DrawableCrossFadeFactory): BitmapTransitionOptions
open fun withCrossFade(duration: Int): BitmapTransitionOptions
Returns a BitmapTransitionOptions object that enables a cross fade animation.
Link copied to clipboard
open fun withWrapped(drawableCrossFadeFactory: TransitionFactory<Drawable>): BitmapTransitionOptions
Returns a BitmapTransitionOptions object that enables a any animation that is possible on drawables.