FragmentAnimations icon indicating copy to clipboard operation
FragmentAnimations copied to clipboard

Animation directions changed to opposite

Open ilyaskhametov opened this issue 7 years ago • 2 comments

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.

ilyaskhametov avatar Jun 15 '17 09:06 ilyaskhametov

I think it's problem about example. Please fix the code of example project, instead of library.

kakajika avatar Jun 16 '17 13:06 kakajika

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?

ilyaskhametov avatar Jun 16 '17 16:06 ilyaskhametov