-
- All Implemented Interfaces:
-
com.mobwith.imgmodule.request.transition.TransitionFactory
public class ViewPropertyAnimationFactory<R> implements TransitionFactory<R>
A TransitionFactory that produces ViewPropertyAnimations.
-
-
Constructor Summary
Constructors Constructor Description ViewPropertyAnimationFactory(ViewPropertyTransition.Animator animator)
-
Method Summary
Modifier and Type Method Description Transition<R>build(DataSource dataSource, boolean isFirstResource)Returns a new Transition for the given arguments. -
-
Constructor Detail
-
ViewPropertyAnimationFactory
ViewPropertyAnimationFactory(ViewPropertyTransition.Animator animator)
-
-
Method Detail
-
build
Transition<R> build(DataSource dataSource, boolean isFirstResource)
Returns a new Transition for the given arguments. If isMemoryCache is
{@code true}orisFirstImage is{@code false}, returns a NoTransition and otherwise returns a new ViewPropertyTransition for the ViewPropertyTransition.Animator provided in theconstructor.
-
-
-
-