I'm fairly new at Android development. Been a long-time lurker and I finally got some time to get started. I've been looking around all over the place (including these forums) to find an answer to this problem I'm having. I currently have a TextView inside a ScrollView. This part is working just fine.
What I need is a way to call a function after the ScrollView is done scrolling (if for example, say the user swipes up and goes all the way to the bottom of the TextView) in order to do some processing. I can't seem to find any appropriate listeners or events for this purpose.
I'm debating on just using a Handler as a timer (more efficient, probably every 200ms or something) and once the getY() from the ScrollView stops changing, I know it has stopped scrolling, then I can check the position. This will work but it seems like a very roundabout and somewhat inefficient way of doing things.
Any input is appreciated. Thanks!