summaryrefslogtreecommitdiffstats
path: root/core/java/android
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/view/ViewPropertyAnimator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/ViewPropertyAnimator.java b/core/java/android/view/ViewPropertyAnimator.java
index d8db14c..22f98b7 100644
--- a/core/java/android/view/ViewPropertyAnimator.java
+++ b/core/java/android/view/ViewPropertyAnimator.java
@@ -701,7 +701,7 @@ public class ViewPropertyAnimator {
* view.animate().x(0);
* }
* };
- * view.animate().x(200).onEnd(endAction);
+ * view.animate().x(200).withEndAction(endAction);
* </pre>
*
* @param runnable The action to run when the next animation ends.