obtain

fun obtain(surfaceId: Int, viewTag: Int, scrollEventType: ScrollEventType?, scrollX: Float, scrollY: Float, xVelocity: Float, yVelocity: Float, contentWidth: Int, contentHeight: Int, scrollViewWidth: Int, scrollViewHeight: Int): ScrollEvent


fun obtain(viewTag: Int, scrollEventType: ScrollEventType?, scrollX: Float, scrollY: Float, xVelocity: Float, yVelocity: Float, contentWidth: Int, contentHeight: Int, scrollViewWidth: Int, scrollViewHeight: Int): ScrollEvent

Deprecated

Use the obtain version that explicitly takes surfaceId as an argument

Replace with

obtain(surfaceId, viewTag, scrollEventType, scrollX, scrollY, xVelocity, yVelocity, contentWidth, contentHeight, scrollViewWidth, scrollViewHeight)