Class DynamicPageIndicator2.PendingStartAnimator
java.lang.Object
android.animation.Animator
android.animation.ValueAnimator
com.pranavpandey.android.dynamic.support.widget.DynamicPageIndicator2.PendingStartAnimator
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
DynamicPageIndicator2.PendingRetreatAnimator
,DynamicPageIndicator2.PendingRevealAnimator
- Enclosing class:
- DynamicPageIndicator2
A
ValueAnimator
that starts once a given predicate returns true.-
Nested Class Summary
Nested classes/interfaces inherited from class android.animation.ValueAnimator
ValueAnimator.AnimatorUpdateListener, ValueAnimator.DurationScaleChangeListener
Nested classes/interfaces inherited from class android.animation.Animator
Animator.AnimatorListener, Animator.AnimatorPauseListener
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected DynamicPageIndicator2.StartPredicate
Fields inherited from class android.animation.ValueAnimator
INFINITE, RESTART, REVERSE
Fields inherited from class android.animation.Animator
DURATION_INFINITE
-
Constructor Summary
-
Method Summary
Methods inherited from class android.animation.ValueAnimator
addUpdateListener, areAnimatorsEnabled, cancel, clone, end, getAnimatedFraction, getAnimatedValue, getAnimatedValue, getCurrentPlayTime, getDuration, getDurationScale, getFrameDelay, getInterpolator, getRepeatCount, getRepeatMode, getStartDelay, getTotalDuration, getValues, isRunning, isStarted, ofArgb, ofFloat, ofInt, ofObject, ofPropertyValuesHolder, pause, registerDurationScaleChangeListener, removeAllUpdateListeners, removeUpdateListener, resume, reverse, setCurrentFraction, setCurrentPlayTime, setDuration, setEvaluator, setFloatValues, setFrameDelay, setInterpolator, setIntValues, setObjectValues, setRepeatCount, setRepeatMode, setStartDelay, setValues, start, toString, unregisterDurationScaleChangeListener
Methods inherited from class android.animation.Animator
addListener, addPauseListener, getListeners, isPaused, removeAllListeners, removeListener, removePauseListener, setTarget, setupEndValues, setupStartValues
-
Field Details
-
hasStarted
protected boolean hasStarted -
predicate
-
-
Constructor Details
-
Method Details
-
startIfNecessary
public void startIfNecessary(float currentValue)
-