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 different
Transitions based on the state of the request.-
Method Summary
Modifier and TypeMethodDescriptionbuild(DataSource dataSource, boolean isFirstResource) Returns a newTransition.
-
Method Details
-
build
Returns a newTransition.- Parameters:
dataSource- TheDataSourcethe resource was loaded from.isFirstResource- True if this is the first resource to be loaded into the target.
-