public class TransitionsExtension extends MountDelegateExtension implements HostListenerExtension<TransitionsExtension.TransitionsExtensionInput>, TransitionManager.OnAnimationCompleteListener<EventHandler<TransitionEndEvent>>
Modifier and Type | Class and Description |
---|---|
static interface |
TransitionsExtension.TransitionsExtensionInput |
Constructor and Description |
---|
TransitionsExtension(Host lithoView) |
Modifier and Type | Method and Description |
---|---|
void |
afterMount()
Called immediately after mounting.
|
void |
beforeMount(TransitionsExtension.TransitionsExtensionInput input,
Rect localVisibleRect)
Called for setting up input on the extension before mounting.
|
void |
onAnimationComplete(TransitionId transitionId) |
void |
onAnimationUnitComplete(PropertyHandle propertyHandle,
EventHandler transitionEndHandler) |
void |
onUmountItem(Object item,
long layoutOutputId) |
void |
onUnbind()
Called after all the Host's children have been unbound.
|
void |
onUnmount()
Called after all the Host's children have been unmounted.
|
void |
onVisibleBoundsChanged(Rect localVisibleRect)
Called when the visible bounds of the Host change.
|
acquireMountReference, canPreventMount, getContentAt, getMountTarget, isAnimationLocked, isLockedForMount, isRootItem, ownsReference, registerToDelegate, releaseMountReference, resetAcquiredReferences
public TransitionsExtension(Host lithoView)
public void beforeMount(TransitionsExtension.TransitionsExtensionInput input, Rect localVisibleRect)
HostListenerExtension
beforeMount
in interface HostListenerExtension<TransitionsExtension.TransitionsExtensionInput>
public void afterMount()
HostListenerExtension
afterMount
in interface HostListenerExtension<TransitionsExtension.TransitionsExtensionInput>
public void onVisibleBoundsChanged(Rect localVisibleRect)
HostListenerExtension
onVisibleBoundsChanged
in interface HostListenerExtension<TransitionsExtension.TransitionsExtensionInput>
public void onUnmount()
HostListenerExtension
onUnmount
in interface HostListenerExtension<TransitionsExtension.TransitionsExtensionInput>
public void onUnbind()
HostListenerExtension
onUnbind
in interface HostListenerExtension<TransitionsExtension.TransitionsExtensionInput>
public void onAnimationComplete(TransitionId transitionId)
onAnimationComplete
in interface TransitionManager.OnAnimationCompleteListener<EventHandler<TransitionEndEvent>>
public void onAnimationUnitComplete(PropertyHandle propertyHandle, EventHandler transitionEndHandler)
onAnimationUnitComplete
in interface TransitionManager.OnAnimationCompleteListener<EventHandler<TransitionEndEvent>>
public void onUmountItem(Object item, long layoutOutputId)
onUmountItem
in class MountDelegateExtension