| package com.airbnb.lottie.model.animatable; |
| |
| import com.airbnb.lottie.value.Keyframe; |
| import com.airbnb.lottie.animation.keyframe.BaseKeyframeAnimation; |
| import com.airbnb.lottie.animation.keyframe.IntegerKeyframeAnimation; |
| |
| import java.util.List; |
| |
| public class AnimatableIntegerValue extends BaseAnimatableValue<Integer, Integer> { |
| |
| public AnimatableIntegerValue() { |
| super(100); |
| } |
| |
| public AnimatableIntegerValue(List<Keyframe<Integer>> keyframes) { |
| super(keyframes); |
| } |
| |
| @Override public BaseKeyframeAnimation<Integer, Integer> createAnimation() { |
| return new IntegerKeyframeAnimation(keyframes); |
| } |
| } |