I know how to do pull to refresh but in the link below you will see on pull to refresh a parachute animation starts, I want to know how to do this any guidance would be helpful.Thanks!
Link: http://tubikstudio.com/wp-content/uploads/2016/01/Animation-Saily-by-Tubik-Studio-2.gif
Another Link with a rocket instead of parachute below:
Link: https://cdn-images-1.medium.com/max/800/0*MdQLuddtp_YUlNDv.gif
How to accomplish such a cool animation?
答案 0 :(得分:0)
要跟踪手指的移动,您可以使用MotionEvent。要为降落伞制作动画,请使用插值器和动画师。要开始跟踪 - mTargetView.getTop()。希望这对你有帮助。