public class NoopAnimationPropertyUpdater extends java.lang.Object implements AnimationPropertyUpdater
AnimationPropertyUpdater that can be used as a stub for unsupported property types| Constructor and Description |
|---|
NoopAnimationPropertyUpdater() |
| Modifier and Type | Method and Description |
|---|---|
void |
onFinish(android.view.View view)
This method will be called at the end of animation.
|
void |
onUpdate(android.view.View view,
float value)
This method will be called for each animation frame
|
void |
prepare(android.view.View view)
This method will be called before animation starts.
|
public void prepare(android.view.View view)
AnimationPropertyUpdaterprepare in interface AnimationPropertyUpdaterview - view that will be animatedpublic void onUpdate(android.view.View view,
float value)
AnimationPropertyUpdateronUpdate in interface AnimationPropertyUpdaterview - view to update propertyvalue - animation progress from 0..1 range (may slightly exceed that limit in case of
spring engine) retrieved from Animation engine.public void onFinish(android.view.View view)
AnimationPropertyUpdaterAnimationPropertyUpdater.onUpdate(android.view.View, float) by passing value close to 1.0 or in a case some frames got dropped.onFinish in interface AnimationPropertyUpdaterview - view to update property