Class BitmapTransitionFactory
java.lang.Object
com.bumptech.glide.request.transition.BitmapContainerTransitionFactory<Bitmap>
com.bumptech.glide.request.transition.BitmapTransitionFactory
- All Implemented Interfaces:
TransitionFactory<Bitmap>
A
TransitionFactory for Bitmaps that uses a Drawable transition
factory to transition from an existing drawable already visible on the target to the new bitmap.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.bumptech.glide.request.transition.BitmapContainerTransitionFactory
build
-
Constructor Details
-
BitmapTransitionFactory
-
-
Method Details
-
getBitmap
Description copied from class:BitmapContainerTransitionFactoryRetrieve the Bitmap from a composite object.Warning: Do not convert any arbitrary object to Bitmap via expensive drawing here, this method is called on the UI thread.
- Specified by:
getBitmapin classBitmapContainerTransitionFactory<Bitmap>- Parameters:
current- composite object containing a Bitmap and some other information- Returns:
- the Bitmap contained within
current
-