R - The type of resource that needs to be animated into the target.public interface TransitionFactory<R>
Transitions based on the state of the
 request.| Modifier and Type | Method and Description | 
|---|---|
Transition<R> | 
build(DataSource dataSource,
     boolean isFirstResource)
Returns a new  
Transition. | 
Transition<R> build(DataSource dataSource, boolean isFirstResource)
Transition.dataSource - The DataSource the resource was loaded
                        from.isFirstResource - True if this is the first resource to be loaded into the target.