summaryrefslogtreecommitdiffstats
path: root/core/java/android/widget/AdapterViewAnimator.java
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2011-01-19 17:16:34 -0800
committerAdam Cohen <adamcohen@google.com>2011-01-20 00:03:45 -0800
commit0e2de6d7187ef67ec00a2f2544450caa4a239c39 (patch)
tree020313dd772894447750ba1276999b49b06cc512 /core/java/android/widget/AdapterViewAnimator.java
parente65b0f8df03c16765b5ece94e5c9c6d75042cae0 (diff)
downloadframeworks_base-0e2de6d7187ef67ec00a2f2544450caa4a239c39.zip
frameworks_base-0e2de6d7187ef67ec00a2f2544450caa4a239c39.tar.gz
frameworks_base-0e2de6d7187ef67ec00a2f2544450caa4a239c39.tar.bz2
Addressing API Review docs bugs:
->Issue 3370313 ->Issue 3370403 ->Issue 3370328 ->kthx, bye Change-Id: I2d1962c27b3ba856a0b4632d335271300bab45eb
Diffstat (limited to 'core/java/android/widget/AdapterViewAnimator.java')
-rw-r--r--core/java/android/widget/AdapterViewAnimator.java12
1 files changed, 11 insertions, 1 deletions
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<Adapter>
// 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