- Fix (#34): Clear animation when detached from the window
- New (#18): On stop callback for when animation completes
- Fix (#36): Division by Zero Exception
- Fix (#37): IllegalArgumentException due to overflowing buffer length
- Fix (#28): Memory leak in cleanupRunnable
- Ported the
GifDecoder
implementation from Glide which fixes most of the gif weirdnesses and bugs.
- Adds support for custom frame display duration via
setFramesDisplayDuration()
, thanks to @donvigo
- Adds support to
OnFrameAvailable
callback, thanks to @luciofm.
- Adds methods
getGifWidth()
andgetGifHeight()
toGifImageView
class.
- Catch exceptions in
GifImageView.run()
- Safer clear() routine to avoid null pointer exceptions.
- PR #5: Fixes crashes when clearing the GIF bytes.
- PR #4: Replace false image data decoding in readContents with simple skipping.
- Adds
isAnimating()
that returns whether the gif animation is currently running.
Initial release