-
public abstract class BaseKeyframeAnimation<K, A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceBaseKeyframeAnimation.AnimationListener
-
Field Summary
Fields Modifier and Type Field Description protected floatprogressprotected LottieValueCallback<A>valueCallback
-
Method Summary
Modifier and Type Method Description floatgetProgress()voidsetProgress(@FloatRange(from = 0f, to = 1f) float progress)voidsetValueCallback(@Nullable() LottieValueCallback<A> valueCallback)voidaddUpdateListener(BaseKeyframeAnimation.AnimationListener listener)voidnotifyListeners()AgetValue()booleanhasValueCallback()-
-
Method Detail
-
getProgress
float getProgress()
-
setProgress
void setProgress(@FloatRange(from = 0f, to = 1f) float progress)
-
setValueCallback
void setValueCallback(@Nullable() LottieValueCallback<A> valueCallback)
-
addUpdateListener
void addUpdateListener(BaseKeyframeAnimation.AnimationListener listener)
-
notifyListeners
void notifyListeners()
-
hasValueCallback
boolean hasValueCallback()
-
-
-
-