title: How to check direction of ViewPager immediatelly?
body: <p>I am using ViewPager. I want to check direction of current ViewPager page whenever is page moving. It may be moved either by the user (swipe/ click on another tab in tab layout) or by ViewPager itself (user don't finish swipe and the page is moving back to idle position. </p>
  
  <p>Thanks</p>