title: Automatically scroll in PageViewer
body: <p>I have a problem with pageviewer. I want to my page scroll every two seconds. I try something like this:</p>
  
  <pre><code>handler.postDelayed(new Runnable() {
      public void run() {
  
          viewPager.setCurrentItem(viewPager.getCurrentItem()+1, true);
  
      } 
  },2000);
  </code></pre>
  
  <p>But it works only when I start activity. If i put this code to <code>public void onPageSelected(int page)</code> it works but I want to do when I click and manually scroll page I want to stop this handler but it doeasn't work. How I can do that?</p>