public final class SubsamplingScaleImageView.AnimationBuilder extends Object
SubsamplingScaleImageView.animateScale(float),
 then set your options and call start().| Modifier and Type | Method and Description | 
|---|---|
void | 
start()
Starts the animation. 
 | 
SubsamplingScaleImageView.AnimationBuilder | 
withDuration(long duration)
Desired duration of the anim in milliseconds. 
 | 
SubsamplingScaleImageView.AnimationBuilder | 
withEasing(int easing)
Set the easing style. 
 | 
SubsamplingScaleImageView.AnimationBuilder | 
withInterruptible(boolean interruptible)
Whether the animation can be interrupted with a touch. 
 | 
SubsamplingScaleImageView.AnimationBuilder | 
withOnAnimationEventListener(SubsamplingScaleImageView.OnAnimationEventListener listener)
Add an animation event listener. 
 | 
public SubsamplingScaleImageView.AnimationBuilder withDuration(long duration)
duration - duration in milliseconds.public SubsamplingScaleImageView.AnimationBuilder withInterruptible(boolean interruptible)
interruptible - interruptible flag.public SubsamplingScaleImageView.AnimationBuilder withEasing(int easing)
SubsamplingScaleImageView.EASE_IN_OUT_QUAD is recommended, and the default.easing - easing style.public SubsamplingScaleImageView.AnimationBuilder withOnAnimationEventListener(SubsamplingScaleImageView.OnAnimationEventListener listener)
listener - The listener.public void start()