-
public final class Gifs
-
-
Method Summary
Modifier and Type Method Description final static ImageRequest.BuilderrepeatCount(ImageRequest.Builder $self, Integer repeatCount)Set the number of times to repeat the animation if the result is an animated Drawable. final static IntegerrepeatCount(Parameters $self)Get the number of times to repeat the animation if the result is an animated Drawable. final static ImageRequest.BuilderanimatedTransformation(ImageRequest.Builder $self, AnimatedTransformation animatedTransformation)Set the AnimatedTransformation that will be applied to the result if it is an animated Drawable. final static AnimatedTransformationanimatedTransformation(Parameters $self)Get the AnimatedTransformation that will be applied to the result if it is an animated Drawable. final static ImageRequest.BuilderonAnimationStart(ImageRequest.Builder $self, Function0<Unit> callback)Set the callback to be invoked at the start of the animation if the result is an animated Drawable. final static Function0<Unit>animationStartCallback(Parameters $self)Get the callback to be invoked at the start of the animation if the result is an animated Drawable. final static ImageRequest.BuilderonAnimationEnd(ImageRequest.Builder $self, Function0<Unit> callback)Set the callback to be invoked at the end of the animation if the result is an animated Drawable. final static Function0<Unit>animationEndCallback(Parameters $self)Get the callback to be invoked at the end of the animation if the result is an animated Drawable. -
-
Method Detail
-
repeatCount
final static ImageRequest.Builder repeatCount(ImageRequest.Builder $self, Integer repeatCount)
Set the number of times to repeat the animation if the result is an animated Drawable.
Default: MovieDrawable.REPEAT_INFINITE
-
repeatCount
final static Integer repeatCount(Parameters $self)
Get the number of times to repeat the animation if the result is an animated Drawable.
-
animatedTransformation
final static ImageRequest.Builder animatedTransformation(ImageRequest.Builder $self, AnimatedTransformation animatedTransformation)
Set the AnimatedTransformation that will be applied to the result if it is an animated Drawable.
Default:
null
-
animatedTransformation
final static AnimatedTransformation animatedTransformation(Parameters $self)
Get the AnimatedTransformation that will be applied to the result if it is an animated Drawable.
-
onAnimationStart
final static ImageRequest.Builder onAnimationStart(ImageRequest.Builder $self, Function0<Unit> callback)
Set the callback to be invoked at the start of the animation if the result is an animated Drawable.
-
animationStartCallback
final static Function0<Unit> animationStartCallback(Parameters $self)
Get the callback to be invoked at the start of the animation if the result is an animated Drawable.
-
onAnimationEnd
final static ImageRequest.Builder onAnimationEnd(ImageRequest.Builder $self, Function0<Unit> callback)
Set the callback to be invoked at the end of the animation if the result is an animated Drawable.
-
animationEndCallback
final static Function0<Unit> animationEndCallback(Parameters $self)
Get the callback to be invoked at the end of the animation if the result is an animated Drawable.
-
-
-
-