| java.lang.Object | |
| ↳ | com.facebook.fresco.animation.drawable.animator.AnimatedDrawableValueAnimatorHelper |
Helper class to create ValueAnimators for animated drawables. Currently, this class only supports API 11 (Honeycomb) and above.
Supported drawable types: - AnimatedDrawable2
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static ValueAnimator.AnimatorUpdateListener |
createAnimatorUpdateListener(Drawable drawable)
Create an animator update listener to be used to update the drawable to be animated.
| ||||||||||
| static ValueAnimator |
createValueAnimator(Drawable drawable, int maxDurationMs)
Create a value animator for the given animation drawable and max animation duration in ms.
| ||||||||||
| static ValueAnimator |
createValueAnimator(Drawable drawable)
Create a value animator for the given animation drawable.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Create an animator update listener to be used to update the drawable to be animated.
| drawable | the drawable to create the animator update listener for |
|---|
Create a value animator for the given animation drawable and max animation duration in ms.
| drawable | the drawable to create the animator for |
|---|---|
| maxDurationMs | the max duration in ms |
Create a value animator for the given animation drawable.
| drawable | the drawable to create the animator for |
|---|