How do I programmatically hook into an Android ScrollView
when it starts/ends scrolling? I have a custom View
which is placed inside a ScrollView
. I want my custom View
to be informed right before the scrolling begins and just after the scrolling ends to execute some arbitrary code.
Note: I'm coming from iOS development and basically I'm looking for the Android equivalent of UIScrollViewDelegate
.