-
- All Implemented Interfaces:
-
com.mobwith.imgmodule.request.transition.Transition
public class ViewTransition<R> implements Transition<R>
A Transition that can apply a Animation to a View using .
-
-
Method Summary
Modifier and Type Method Description booleantransition(R current, Transition.ViewAdapter adapter)Always clears the current animation on the view using , then starts the Animation given in the constructor using and then returns {@code * false}because the animation does not actually put the current resource on the view.-
-
Method Detail
-
transition
boolean transition(R current, Transition.ViewAdapter adapter)
Always clears the current animation on the view using , then starts the Animation given in the constructor using and then returns
{@code * false}because the animation does not actually put the current resource on the view.- Parameters:
current- The new resource that will be displayed in the view.adapter- The ViewAdapter wrapping a view that can at least return anView from getView.
-
-
-
-