Class NoTransition.NoAnimationFactory<R>
java.lang.Object
com.bumptech.glide.request.transition.NoTransition.NoAnimationFactory<R>
- Type Parameters:
R- the resource type that will be transitioned into aTarget.
- All Implemented Interfaces:
TransitionFactory<R>
- Enclosing class:
- NoTransition<R>
public static class NoTransition.NoAnimationFactory<R>
extends Object
implements TransitionFactory<R>
A factory that always returns the same
NoTransition.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(DataSource dataSource, boolean isFirstResource) Returns a newTransition.
-
Constructor Details
-
NoAnimationFactory
public NoAnimationFactory()
-
-
Method Details
-
build
Description copied from interface:TransitionFactoryReturns a newTransition.- Specified by:
buildin interfaceTransitionFactory<R>- Parameters:
dataSource- TheDataSourcethe resource was loaded from.isFirstResource- True if this is the first resource to be loaded into the target.
-