Package 

Class ScrollEvent

    • Method Summary

      Modifier and Type Method Description
      static ScrollEvent obtain(int viewTag, ScrollEventType scrollEventType, float scrollX, float scrollY, float xVelocity, float yVelocity, int contentWidth, int contentHeight, int scrollViewWidth, int scrollViewHeight)
      static ScrollEvent obtain(int surfaceId, int viewTag, ScrollEventType scrollEventType, float scrollX, float scrollY, float xVelocity, float yVelocity, int contentWidth, int contentHeight, int scrollViewWidth, int scrollViewHeight)
      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()
      boolean canCoalesce()
      • Methods inherited from class com.facebook.react.uimanager.events.Event

        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 ScrollEvent obtain(int viewTag, ScrollEventType scrollEventType, float scrollX, float scrollY, float xVelocity, float yVelocity, int contentWidth, int contentHeight, int scrollViewWidth, int scrollViewHeight)
      • obtain

         static ScrollEvent obtain(int surfaceId, int viewTag, ScrollEventType scrollEventType, float scrollX, float scrollY, float xVelocity, float yVelocity, int contentWidth, int contentHeight, int scrollViewWidth, int scrollViewHeight)
      • onDispose

         void onDispose()

        Called when the EventDispatcher is done with an event, either because it was dispatched orbecause it was coalesced with another Event.