GifDrawable
An animated android.graphics.drawable.Drawable that plays the frames of an animated GIF.
Constructors
Link copied to clipboard
Content copied to clipboard
Constructor for GifDrawable.
Link copied to clipboard
open fun GifDrawable( context: Context, gifDecoder: GifDecoder, frameTransformation: Transformation<Bitmap>, targetFrameWidth: Int, targetFrameHeight: Int, firstFrame: Bitmap)
Content copied to clipboard
Constructor for GifDrawable.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the current frame index in the range 0..
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Register callback to listen to GifDrawable animation end event after specific loop count set by setLoopCount.
Link copied to clipboard
Link copied to clipboard
open fun setFrameTransformation(frameTransformation: Transformation<Bitmap>, firstFrame: Bitmap)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Starts the animation from the first frame.
Link copied to clipboard
open fun unregisterAnimationCallback(animationCallback: AnimationCallback): Boolean
Content copied to clipboard