-
public class OnLayoutEvent extends Event<OnLayoutEvent>
Event used to notify JS component about changes of its position or dimensions
-
-
Method Summary
Modifier and Type Method Description static OnLayoutEvent
obtain(int viewTag, int x, int y, int width, int height)
static OnLayoutEvent
obtain(int surfaceId, int viewTag, int x, int y, int width, int height)
void
onDispose()
Called when the EventDispatcher is done with an event, either because it was dispatched orbecause it was coalesced with another Event. String
getEventName()
-
Methods inherited from class com.facebook.react.uimanager.events.Event
canCoalesce, coalesce, dispatch, dispatchModern, getCoalescingKey, getSurfaceId, getTimestampMs, getUIManagerType, getUniqueID, getViewTag
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
obtain
@Deprecated() static OnLayoutEvent obtain(int viewTag, int x, int y, int width, int height)
-
obtain
static OnLayoutEvent obtain(int surfaceId, int viewTag, int x, int y, int width, int height)
-
onDispose
void onDispose()
Called when the EventDispatcher is done with an event, either because it was dispatched orbecause it was coalesced with another Event.
-
getEventName
String getEventName()
-
-
-
-