androidimageviewoverscroll

OverScroll animation on activity


I have an imageView on my activity and I implemented a fling gesture on it to change the image from a list og images, but i want to add an overscroll animation to my activity when it reach the end (or beginning) of the list any pointer on how to implement this, google is not helping

cheers


Solution

  • The work has already been done for you in this project. Look at the code for RotateLoadingLayout. Your class would look very similar, but substitute your own Animation where you see mRotateAnimation.