BitmapContainerTransitionFactory

abstract class BitmapContainerTransitionFactory<R> : TransitionFactory<R>

A TransitionFactory for complex types that have a android.graphics.Bitmap inside. The transitioning bitmap is wrapped in a android.graphics.drawable.BitmapDrawable. Most commonly used with DrawableCrossFadeFactory.

Parameters

<R>

The type of the composite object that contains the android.graphics.Bitmap to be transitioned.

Constructors

Link copied to clipboard
open fun BitmapContainerTransitionFactory(realFactory: TransitionFactory<Drawable>)

Functions

Link copied to clipboard
open fun build(dataSource: DataSource, isFirstResource: Boolean): Transition<R>
Returns a new Transition.

Inheritors

Link copied to clipboard