Event when scrolling is done
-
11-02-2021 - |
Pergunta
In a ScrollView (Vertical or Horizontal) how to know when the scroll animation is done?
I start the animation with smoothScrollBy or smoothScrollTo
Solução
You'll have to subclass ScrollView
to use onScrollChanged
.
See this other SO question: Synchronise ScrollView scroll positions - android
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow