I simply added a new method shouldAnimate, which can be overriden and is checked before running the animation. It returns true by default, so no existing implementation is altered in behaviour.
I have run the Android Studio auto formatter on the source; If this is not desired I will revert back.
This would close #47.
Code changes
shouldAnimate
, which can be overriden and is checked before running the animation. It returnstrue
by default, so no existing implementation is altered in behaviour.