Preloading the next (or previous) page in ViewPager
<p>I have managed to show the edges of the next and previous pages by setting a negative page margin. However, the problem is that if I scroll page 1 to the left such that now page 2 is in the center, like so:</p>

<pre><code>0 - [ 1 ] - 2   ---&gt;  1 - [ 2 ] - 3
</code></pre>

<p>, then page '3' is loaded ONLY after 2 arrives at the center and the swipe ends. This causes a jarring "appear" of page '3' (instead of smoothly sliding in). </p>

<p>How do I have page '3' loaded so that animation is smooth?</p>
