public abstract class BaseAnimation<T extends android.animation.Animator>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected long |
animationDuration |
protected T |
animator |
static int |
DEFAULT_ANIMATION_TIME |
protected ValueController.UpdateListener |
listener |
| Constructor and Description |
|---|
BaseAnimation(ValueController.UpdateListener listener) |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
createAnimator() |
BaseAnimation |
duration(long duration) |
void |
end() |
abstract BaseAnimation |
progress(float progress) |
void |
start() |
public static final int DEFAULT_ANIMATION_TIME
protected long animationDuration
protected ValueController.UpdateListener listener
protected T extends android.animation.Animator animator
public BaseAnimation(ValueController.UpdateListener listener)
public abstract T createAnimator()
public abstract BaseAnimation progress(float progress)
public BaseAnimation duration(long duration)
public void start()
public void end()