R - animated resource typepublic class NoAnimation<R> extends Object implements GlideAnimation<R>
GlideAnimation that performs no actions.| Modifier and Type | Class and Description |
|---|---|
static class |
NoAnimation.NoAnimationFactory<R>
A factory that always returns the same
NoAnimation. |
GlideAnimation.ViewAdapter| Constructor and Description |
|---|
NoAnimation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
animate(Object current,
GlideAnimation.ViewAdapter adapter)
Performs no animation and always returns
false. |
static <R> GlideAnimation<R> |
get()
Returns an instance of
NoAnimation. |
static <R> GlideAnimationFactory<R> |
getFactory()
Returns an instance of a factory that produces
NoAnimations. |
public static <R> GlideAnimationFactory<R> getFactory()
NoAnimations.public static <R> GlideAnimation<R> get()
NoAnimation.public boolean animate(Object current, GlideAnimation.ViewAdapter adapter)
false.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().