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, resetAcquiredReferencespublic TransitionsExtension(Host lithoView)
public void beforeMount(TransitionsExtension.TransitionsExtensionInput input, Rect localVisibleRect)
HostListenerExtensionbeforeMount in interface HostListenerExtension<TransitionsExtension.TransitionsExtensionInput>public void afterMount()
HostListenerExtensionafterMount in interface HostListenerExtension<TransitionsExtension.TransitionsExtensionInput>public void onVisibleBoundsChanged(Rect localVisibleRect)
HostListenerExtensiononVisibleBoundsChanged in interface HostListenerExtension<TransitionsExtension.TransitionsExtensionInput>public void onUnmount()
HostListenerExtensiononUnmount in interface HostListenerExtension<TransitionsExtension.TransitionsExtensionInput>public void onUnbind()
HostListenerExtensiononUnbind 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