From 0e2de6d7187ef67ec00a2f2544450caa4a239c39 Mon Sep 17 00:00:00 2001 From: Adam Cohen Date: Wed, 19 Jan 2011 17:16:34 -0800 Subject: Addressing API Review docs bugs: ->Issue 3370313 ->Issue 3370403 ->Issue 3370328 ->kthx, bye Change-Id: I2d1962c27b3ba856a0b4632d335271300bab45eb --- core/java/android/widget/AdapterViewAnimator.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'core/java/android/widget/AdapterViewAnimator.java') diff --git a/core/java/android/widget/AdapterViewAnimator.java b/core/java/android/widget/AdapterViewAnimator.java index c27082f..4c1279f 100644 --- a/core/java/android/widget/AdapterViewAnimator.java +++ b/core/java/android/widget/AdapterViewAnimator.java @@ -981,11 +981,21 @@ public abstract class AdapterViewAnimator extends AdapterView // items from the Adapter. } + /** + * Called by an {@link android.appwidget.AppWidgetHost} in order to advance the current view when + * it is being used within an app widget. + */ public void advance() { showNext(); } - public void willBeAdvancedByHost() { + /** + * Called by an {@link android.appwidget.AppWidgetHost} to indicate that it will be + * automatically advancing the views of this {@link AdapterViewAnimator} by calling + * {@link AdapterViewAnimator#advance()} at some point in the future. This allows subclasses to + * perform any required setup, for example, to stop automatically advancing their children. + */ + public void fyiWillBeAdvancedByHostKThx() { } @Override -- cgit v1.1