From 89fafaeae73cc265f13775944ccb2841bbc6766c Mon Sep 17 00:00:00 2001 From: Katie McCormick Date: Thu, 7 Feb 2013 14:23:14 -0800 Subject: Doc update: clean up Change-Id: Idd11b36d54e01671d45764dd6ed327621a3fa682 --- docs/html/training/gestures/scroll.jd | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'docs') diff --git a/docs/html/training/gestures/scroll.jd b/docs/html/training/gestures/scroll.jd index 955495a..8576948 100644 --- a/docs/html/training/gestures/scroll.jd +++ b/docs/html/training/gestures/scroll.jd @@ -45,13 +45,7 @@ a scrolling effect in response to touch gestures using scrollers.

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.

+scrolling animation in response to a touch event.

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