title: TabPageIndicator: how disable tabs selection
body: <p>i'm tryng to block temporarily the tab seleccion, i mean, ti disable when the user clicks on a tab, so i tried with the method belows:</p>
  
  <pre><code>    mAdapter = new TestFragmentAdapter(getSupportFragmentManager());
      mPager = (ViewPager)findViewById(R.id.pager);
      mPager.setAdapter(mAdapter);
      mPager.setEnabled(false);
      mIndicator = (TabPageIndicator)findViewById(R.id.indicator);
      mIndicator.setViewPager(mPager);
      mPager.setEnabled(false);
  </code></pre>
  
  <p>..but it has no effect, Any way to do this? Thx</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Finally i've got it modifyng the TabPageIndicator code, controlling the onclick event with a public static boolean as below:</p>
  
  <pre><code>public static boolean enabled = true;
  </code></pre>
  
  <p>...</p>
  
  <pre><code>private final OnClickListener mTabClickListener = new OnClickListener() {
      public void onClick(View view) {
          TabView tabView = (TabView)view;
          if(enabled)
          {
              final int oldSelected = mViewPager.getCurrentItem();
              final int newSelected = tabView.getIndex();
              mViewPager.setCurrentItem(newSelected);
              if (oldSelected == newSelected &amp;&amp; mTabReselectedListener != null) {
                  mTabReselectedListener.onTabReselected(newSelected);
              }
          }
      }
  };
  </code></pre>
  
  <p>So, initially always is enabled and only when you want you can disable it changing to false</p>