title: how to prevent viewpager to initialize next view by default in android?
body: <p>I have implemented viewpager to show some introduction screens in android App. There are 4 different screens having different animations on it. My problem is that when user is on 0 fragment of viewpager the fragment 1 initialize by default and animation ends in background and when user goes to fragment 1 then there is no animation(as animation has ended when fragment 1 initialized simultaneous with fragment 1) . What I want to do is that when user is on fragment 0 then only fragment 0 should initialize not the next fragment which is fragment 1. and when user goes to fragment 1 then fragment 0 should destroy so that  on sliding back to fragment 0 it should initialize again to show animation. How can I do this.</p>