Interface TransitionFactory<R>
-
- Type Parameters:
R- The type of resource that needs to be animated into the target.
- All Known Implementing Classes:
BitmapContainerTransitionFactory,BitmapTransitionFactory,DrawableCrossFadeFactory,NoTransition.NoAnimationFactory,ViewAnimationFactory,ViewPropertyAnimationFactory
public interface TransitionFactory<R>A factory class that can produce differentTransitions based on the state of the request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Transition<R>build(DataSource dataSource, boolean isFirstResource)Returns a newTransition.
-
-
-
Method Detail
-
build
Transition<R> build(DataSource dataSource, boolean isFirstResource)
Returns a newTransition.- Parameters:
dataSource- TheDataSourcethe resource was loaded from.isFirstResource- True if this is the first resource to be loaded into the target.
-
-