tigerjj / FasterAnimationsContainer

Frame Animation with Drawable without OutOfMemory
84 stars 32 forks source link

Bug fix for new pull request #11

Open avenwu opened 7 years ago

avenwu commented 7 years ago

Hi @tigerjj This project is really helpful to handle the manual frame-animation for my case; However there was some bugs which can be polished, I've fork the project and made some changes to fix these issues:

2 #9 #4 #3

1. fix warning when reuse bitmap with option.in;
2. fix animation frozen issue after Home press
3. FasterAnimationsContainer is no longer singleton, so each ImageView may control it's animation;
4. global bitmap cache supported;

Since the project is kind of old, and I upgraded to Android Studio which make the diff really big, so I want to know if you'd like these change before send any Pull Request: The mainly changes are FasterAnimationsContainer.java with LifoCache supported click to see diff

tigerjj commented 6 years ago

Sorry I just saw your comment. I will review your code soon.