Event when scrolling is done
-
11-02-2021 - |
Question
In a ScrollView (Vertical or Horizontal) how to know when the scroll animation is done?
I start the animation with smoothScrollBy or smoothScrollTo
Solution
You'll have to subclass ScrollView
to use onScrollChanged
.
See this other SO question: Synchronise ScrollView scroll positions - android
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow