Reputation: 1850
This link is all the documentation I can find on the flingScroll(vx,vy)
method. It has no description of what the method does.
What does the method do? What are vx
and vy
? I was using them as coordinates, but are they velocities?
Upvotes: 4
Views: 2580
Reputation: 3271
It mimics a user flinging the ui. The vx and vy are velocities in the x and y direction (i.e. how fast the user scrolled determines how quickly and how far the view will scroll).
Upvotes: 4