FragmentAnimations
FragmentAnimations copied to clipboard
Animation directions changed to opposite
When clicking left button it hides current fragment to left and opens another from right, which I suppose is incorrect and little bit annoying. It should open new fragment from right when user clicks on right button and from left when user clicks left button, which is logically correct.
I think it's problem about example. Please fix the code of example project, instead of library.
Why not to change it in library to make transition directions and developers code logically correct? If I will change it in example only it will be logical mess in switch statement in onCreateAnimation method, because case RIGHT will rotate to LEFT and case LEFT will rotate to RIGHT. Don't you think so?