Android TabPageIndicator PageChange
<p>I have implemented a Interface on all of my Fragments. </p>

<pre><code>public interface FragmentState {
    public void saveFragementState();
    public void restoreFragementState();
}
</code></pre>

<p>Now i want to implemnt the <code>TabpageIndicator setOnPageChangeListener</code>. How do i know which page is now been swiped out and which page is now been swiped in. I know that the <code>setUserVisibleHint</code> function recieves a param which tells if the fragment is visible to the user ? But how can i see if the Fragment is been swiped out ? </p>
