From 89fafaeae73cc265f13775944ccb2841bbc6766c Mon Sep 17 00:00:00 2001
From: Katie McCormick You can use scrollers ({@link android.widget.Scroller} or {@link
android.widget.OverScroller}) to collect the data you need to produce a
-scrolling animation in response to a touch event. {@link
-android.widget.Scroller} and {@link android.widget.OverScroller} are largely
-interchangeable—the difference is that {@link android.widget.OverScroller}
-allows temporarily scrolling beyond the minimum/maximum boundaries and springing
-back to the bounds. This is normally rendered using a "glow" effect, provided by
-the {@link android.widget.EdgeEffect} or {@link
-android.support.v4.widget.EdgeEffectCompat} classes.
A scroller is used to animate scrolling over time, using platform-standard scrolling physics (friction, velocity, etc.). The scroller itself doesn't @@ -157,5 +151,4 @@ public void computeScroll() { }
For another example of scroller usage, see the source code for the -{@link android.support.v4.view.ViewPager} class. It scrolls in response to flings, -and uses scrolling to implement the "snapping to page" animation.
+{@link android.support.v4.view.ViewPager} class. -- cgit v1.1