Skip to content

v1.9.0

Compare
Choose a tag to compare
@r-ralph r-ralph released this 04 Oct 07:11
· 113 commits to master since this release
7097a85

Important API Changes

Some APIs are marked as deprecated.

  • ApngDrawable.currentRepeatCount is deprecated. Please use ApngDrawable.currentLoopIndex instead.
    • e.g. In the first loop, currentRepeatCount becomes 1 and currentLoopIndex becomes 0.
  • RepeatAnimationCallback.onRepeat is deprecated. Please use RepeatAnimationCallback.onAnimationRepeat.
    • In the previous implementation, the 2nd argument nextLoop is 1 based index.
    • In the current implementation, the 2nd argument nextLoopIndex is 0 based index.
    • RepeatAnimationCallback has both of interface function with default implementation temporary for backward compatibility. They will be removed at the next version.

New feature

  • Introduce ApngDrawable.seekToFrame and ApngDrawable.frameDurations. #68

Fixes

  • isApng returns true whenever the image isn't APNG format. Thanks @potetisensei #65