title: Disabling animation in ViewPager
body: <p>I'd like to disable all the animations for the transitions in my custom <code>ViewPager</code>.
  This view pager contains four tabs -and each tab loads a <code>Fragment</code>- and what the view pager does is to switch the tabs: for example first tab is the index, second is map, etc.</p>
  
  <p>The problem is that if, being the first tab chosen, I click on the fourth tab, I can see how the <code>ViewPager</code> goes through the second and third tab and stops on the fourth, and I don't want that to happen.</p>
  
  <p>I tried to disable all the animations for this <code>ViewPager</code> trying to use a <code>setAnimation</code> to <code>null</code> every time the user chooses a new tab to be displayed, but it still doesn't work.</p>
  
  <p>Any idea to achieve this, please?
  Thanks a lot in advance!</p>
  
  <p>EDIT: I also tried to override <code>onCreateAnimation</code> for each <code>Fragment</code> but still not working</p>