R
- the resource type that will be transitioned into a
Target
.public class NoTransition<R> extends Object implements Transition<R>
Transition
that performs no actions.Modifier and Type | Class and Description |
---|---|
static class |
NoTransition.NoAnimationFactory<R>
A factory that always returns the same
NoTransition . |
Transition.ViewAdapter
Constructor and Description |
---|
NoTransition() |
Modifier and Type | Method and Description |
---|---|
static <R> Transition<R> |
get()
Returns an instance of
NoTransition . |
static <R> TransitionFactory<R> |
getFactory()
Returns an instance of a factory that produces
NoTransition s. |
boolean |
transition(Object current,
Transition.ViewAdapter adapter)
Performs no animation and always returns
false . |
public static <R> TransitionFactory<R> getFactory()
NoTransition
s.public static <R> Transition<R> get()
NoTransition
.public boolean transition(Object current, Transition.ViewAdapter adapter)
false
.transition
in interface Transition<R>
current
- The new resource that will be displayed in the view.adapter
- The Transition.ViewAdapter
wrapping a view that can at least return an
View
from Transition.ViewAdapter.getView()
.