title: ViewPager issue: To finish Activity on swiping last page
body: <p>I want to finish an <code>Activity</code> when a user is in last fragment inside of a <code>view Pager</code> and try to swipe for next screen.  </p>
  
  <p>Thanks in advance. </p>