public abstract class TransitionAnimationBinding extends 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,
String inputName) |
void |
addListener(AnimationBindingListener animationBindingListener)
Adds a
AnimationBindingListener. |
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(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
AnimatedPropertyNodes. |
void |
start(Resolver resolver)
Starts this animation.
|
void |
stop()
Stops this animation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcollectTransitioningPropertiespublic void start(Resolver resolver)
AnimationBindingResolver instance can be used to configure this
animation appropriately using mount content property current and end values.protected abstract void setupBinding(Resolver resolver)
AnimatedPropertyNodes.public void stop()
AnimationBindingpublic boolean isActive()
public void prepareToStartLater()
AnimationBindingpublic final void addListener(AnimationBindingListener animationBindingListener)
AnimationBindingAnimationBindingListener.addListener in interface AnimationBindingpublic final void removeListener(AnimationBindingListener animationBindingListener)
AnimationBindingAnimationBindingListener.removeListener in interface AnimationBindingpublic Object getTag()
AnimationBindinggetTag in interface AnimationBindingpublic void setTag(Object tag)
setTag in interface AnimationBinding