I have viewPager with several views. the default behavior of viewPager is that the first item is displayed first, then swiping right to left displays the second view right to the current view etc.
the behavior i want is that after the first item is displayed, swiping left to right will display the next view left to the current item.
i searched a lot for clever way to implement this but no results..
thanks in advance.
why don't you reverse the list of you view in view pager and use setCurrentItem(int) or setCurrentItem(int,boolean) and set the last one at the launch of the activity/fragment..