public class LithoHostListenerCoordinator extends Object implements HostListenerExtension<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 |
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.
|
public void beforeMount(Object input, Rect localVisibleRect)
HostListenerExtension
beforeMount
in interface HostListenerExtension<Object>
public void afterMount()
HostListenerExtension
afterMount
in interface HostListenerExtension<Object>
public void onVisibleBoundsChanged(Rect localVisibleRect)
HostListenerExtension
onVisibleBoundsChanged
in interface HostListenerExtension<Object>
public void onUnmount()
HostListenerExtension
onUnmount
in interface HostListenerExtension<Object>
public void onUnbind()
HostListenerExtension
onUnbind
in interface HostListenerExtension<Object>