R - The type of the resource displayed in the view that is animatedpublic class ViewAnimation<R> extends Object implements GlideAnimation<R>
GlideAnimation.ViewAdapter| Modifier and Type | Method and Description |
|---|---|
boolean |
animate(R current,
GlideAnimation.ViewAdapter adapter)
Always clears the current animation on the view using
View.clearAnimation(), then
starts the Animation given in the constructor using
View.startAnimation(android.view.animation.Animation) and then returns false because
the animation does not actually set the current resource on the view. |
public boolean animate(R current, GlideAnimation.ViewAdapter adapter)
View.clearAnimation(), then
starts the Animation given in the constructor using
View.startAnimation(android.view.animation.Animation) and then returns false because
the animation does not actually set the current resource on the view.animate in interface GlideAnimation<R>current - The new resource that will be displayed in the view.adapter - The GlideAnimation.ViewAdapter wrapping a view that
can at least return an View from
GlideAnimation.ViewAdapter.getView().