i created a function to rotate the view pager to make it swipe from right to left, as the following:
public void rotateViews(View view){
view.setRotationY(180);
}
but the internal views will be rotated so i rotate them too, so in this case i can start from right to left, is there is a better way to do.
some people says to use viewPager.setCurrentItem() but this will not work in my case, because i want to start from the first position not the last one.