public interface AnimationBindingListener
GraphBinding
is activated or is finished.Modifier and Type | Method and Description |
---|---|
void |
onCanceledBeforeStart(AnimationBinding binding)
Called when a listener (including this one) returns false from
shouldStart(com.facebook.litho.animation.AnimationBinding) |
void |
onFinish(AnimationBinding binding)
Called when a
GraphBinding is finished, meaning all of its nodes are finished. |
void |
onScheduledToStartLater(AnimationBinding binding)
Called when going to be started later.
|
void |
onWillStart(AnimationBinding binding)
Called when
GraphBinding.activate() is called on the relevant binding. |
boolean |
shouldStart(AnimationBinding binding)
Return 'false' to cancel this animation and keep it from starting.
|
void onScheduledToStartLater(AnimationBinding binding)
AnimationBinding
starts, but this particular binding will come into play later. This may be called multiple
times in case of several nested setsvoid onWillStart(AnimationBinding binding)
GraphBinding.activate()
is called on the relevant binding.void onFinish(AnimationBinding binding)
GraphBinding
is finished, meaning all of its nodes are finished.void onCanceledBeforeStart(AnimationBinding binding)
shouldStart(com.facebook.litho.animation.AnimationBinding)
boolean shouldStart(AnimationBinding binding)