public abstract class TransitionAnimationBinding
extends java.lang.Object
GraphBinding
in setupBinding(com.facebook.litho.animation.Resolver)
.Constructor and Description |
---|
TransitionAnimationBinding() |
Modifier and Type | Method and Description |
---|---|
void |
addBinding(ValueNode fromNode,
ValueNode toNode) |
void |
addBinding(ValueNode fromNode,
ValueNode toNode,
java.lang.String inputName) |
void |
addListener(AnimationBindingListener animationBindingListener)
Adds a
AnimationBindingListener . |
java.lang.Object |
getTag()
Allows adding a tags that can also be used to store data without resorting to another data
structure.
|
boolean |
isActive() |
void |
prepareToStartLater()
Called when binding is to be started later.
|
void |
removeListener(AnimationBindingListener animationBindingListener)
Removes a previously added
AnimationBindingListener . |
void |
setTag(java.lang.Object tag) |
protected abstract void |
setupBinding(Resolver resolver)
Subclasses should set up their animation by creating a graph that defines how data will flow to
relevant
AnimatedPropertyNode s. |
void |
start(Resolver resolver)
Starts this animation.
|
void |
stop()
Stops this animation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
collectTransitioningProperties
public void start(Resolver resolver)
AnimationBinding
Resolver
instance can be used to configure this
animation appropriately using mount content property current and end values.protected abstract void setupBinding(Resolver resolver)
AnimatedPropertyNode
s.public void stop()
AnimationBinding
public boolean isActive()
public void prepareToStartLater()
AnimationBinding
public final void addListener(AnimationBindingListener animationBindingListener)
AnimationBinding
AnimationBindingListener
.addListener
in interface AnimationBinding
public final void removeListener(AnimationBindingListener animationBindingListener)
AnimationBinding
AnimationBindingListener
.removeListener
in interface AnimationBinding
public java.lang.Object getTag()
AnimationBinding
getTag
in interface AnimationBinding
public void setTag(java.lang.Object tag)
setTag
in interface AnimationBinding