is there a way to establish a listener on the process of scrolling in a ScrollView or a HorizontalScrollView?
Android: how to listen for scrolling events?
Asked Answered
You can only create a class that extends ScrollView and override the onScrollChanged() method.
No such method. Overriding scrollTo(), however, does the trick. –
Hellman
Yes, there is such a method: developer.android.com/reference/android/view/… –
Deploy
© 2022 - 2024 — McMap. All rights reserved.
<com.example.MyView ...>
– Placida