title: ActionBarSherlock TabPageIndicator with ViewPager.OnPageChangeListener - tab is stuck
body: <p>I am running the example code provided with ABS (SampleTabsDefault). I added the OnPageChangeListener as shown below, now the TabPageIndicator is always stuck on the first tab even though the tab content changes. Am I doing something wrong?</p>
  
  <p>@Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.simple_tabs);</p>
  
  <pre><code>    mAdapter = new GoogleMusicAdapter(getSupportFragmentManager());
  
      mPager = (ViewPager)findViewById(R.id.pager);
      mPager.setAdapter(mAdapter);
  
      mIndicator = (TabPageIndicator)findViewById(R.id.indicator);
      mIndicator.setViewPager(mPager);
  
      ViewPager.OnPageChangeListener changeListener = new ViewPager.OnPageChangeListener() {
  
         @Override
         public void onPageScrolled(int i, float v, int i1) {}
  
         @Override
         public void onPageSelected(int i) {}
  
         @Override
         public void onPageScrollStateChanged(int i) {}
      };
  
      mPager.setOnPageChangeListener(changeListener);
      mIndicator.setOnPageChangeListener(changeListener);
  }
  </code></pre>