Reputation: 3332
I'm having a Viewpager with Tabs Holding Fragments, when the layout direction is RTL the order of tabs and fragments are reversed, however the direction of sliding animation of the fragments are still as in LTR, is there a way to reverse the sliding animation in case of RTL?
Upvotes: 0
Views: 525
Reputation: 2831
I am using RtlViewPager library from Duolingo for exactly these purposes (reverse fragment tabs order, change animation direction). It works like a charm for me.
Upvotes: 1