Basically I want to change an image depending upon whether the user is scrolling up or down in a Scrollview.
I know how to change an image dynamically but I can't figure out how to return the direction the Scrollview is currently moving.
Thanks
Basically I want to change an image depending upon whether the user is scrolling up or down in a Scrollview.
I know how to change an image dynamically but I can't figure out how to return the direction the Scrollview is currently moving.
Thanks
This answer will help you on implementing a scroll change listener. Using the value it provides, you can determine whether it is up or down.