OnScrollDispatchHelper

Android has a bug where onScrollChanged is called twice per frame with the same params during flings. We hack around that here by trying to detect that duplicate call and not dispatch it. See https://code.google.com/p/android/issues/detail?id=39473

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Call from a ScrollView in onScrollChanged, returns true if this onScrollChanged is legit (not a duplicate) and should be dispatched.