setSendMomentumEvents

open fun setSendMomentumEvents(view: ReactHorizontalScrollView, sendMomentumEvents: Boolean)

Computing momentum events is potentially expensive since we post a runnable on the UI thread to see when it is done. We only do that if {@param sendMomentumEvents} is set to true. This is handled automatically in js by checking if there is a listener on the momentum events.

Parameters

view
sendMomentumEvents