I want to know that the ViewPager
s View has scrolled half the screen or not?
While I am dragging it, if it has covered half the screen I want to change the page.
For e.g. if I am testing on MDPI, i.e. of screen width 320px, and if I drag my page of ViewPager by 160px then I want to change the page.
How to get this half distance covered by view from ViewPager?