code: public void removeAllSliders(){
          if(getRealAdapter()!=null){
              int count = getRealAdapter().getCount();
              getRealAdapter().removeAllSliders();
              //a small bug, but fixed by this trick.
              //bug: when remove adapter's all the sliders.some caching slider still alive.
              mViewPager.setCurrentItem(mViewPager.getCurrentItem() +  count,false);
          }
      }
docs: remove all the sliders. Notice: It's a not perfect method, a very small bug still exists.