Repository navigation
v1.9.0
Important API Changes
Some APIs are marked as deprecated.
ApngDrawable.currentRepeatCountis deprecated. Please useApngDrawable.currentLoopIndexinstead.- e.g. In the first loop,
currentRepeatCountbecomes1andcurrentLoopIndexbecomes0.
- e.g. In the first loop,
RepeatAnimationCallback.onRepeatis deprecated. Please useRepeatAnimationCallback.onAnimationRepeat.- In the previous implementation, the 2nd argument
nextLoopis 1 based index. - In the current implementation, the 2nd argument
nextLoopIndexis 0 based index. RepeatAnimationCallbackhas both of interface function with default implementation temporary for backward compatibility. They will be removed at the next version.
- In the previous implementation, the 2nd argument
New feature
- Introduce
ApngDrawable.seekToFrameandApngDrawable.frameDurations. #68
Fixes
isApngreturns true whenever the image isn't APNG format. Thanks @potetisensei #65