public class LithoHostListenerCoordinator extends MountExtension<Object>
Constructor and Description |
---|
LithoHostListenerCoordinator() |
Modifier and Type | Method and Description |
---|---|
void |
afterMount()
Called immediately after mounting.
|
void |
beforeMount(Object input,
Rect localVisibleRect)
Called for setting up input on the extension before mounting.
|
void |
enableDynamicProps() |
LithoRenderUnitFactory |
getLithoRenderUnitFactory() |
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, beforeMountItem, canPreventMount, getContentAt, getMountTarget, getRootHost, isLockedForMount, isRootItem, ownsReference, ownsReference, registerToDelegate, releaseMountReference, resetAcquiredReferences
public void beforeMount(Object input, Rect localVisibleRect)
MountExtension
beforeMount
in class MountExtension<Object>
input
- The new input the extension should use.public void afterMount()
MountExtension
afterMount
in class MountExtension<Object>
public void onVisibleBoundsChanged(Rect localVisibleRect)
MountExtension
onVisibleBoundsChanged
in class MountExtension<Object>
public void onUnmount()
MountExtension
onUnmount
in class MountExtension<Object>
public void onUnbind()
MountExtension
onUnbind
in class MountExtension<Object>
public void enableDynamicProps()
public LithoRenderUnitFactory getLithoRenderUnitFactory()