public class NoopAnimationPropertyUpdater extends java.lang.Object implements AnimationPropertyUpdater
AnimationPropertyUpdater
that can be used as a stub for unsupported property typesConstructor 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)
AnimationPropertyUpdater
prepare
in interface AnimationPropertyUpdater
view
- view that will be animatedpublic void onUpdate(android.view.View view, float value)
AnimationPropertyUpdater
onUpdate
in interface AnimationPropertyUpdater
view
- 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)
AnimationPropertyUpdater
AnimationPropertyUpdater.onUpdate(android.view.View, float)
by passing value close to 1.0 or in a case some frames got dropped.onFinish
in interface AnimationPropertyUpdater
view
- view to update property