public void removeSliderAt(int position){
        if(getRealAdapter()!=null){
            getRealAdapter().removeSliderAt(position);
            mViewPager.setCurrentItem(mViewPager.getCurrentItem(),false);
        }
    }
remove  the slider at the position. Notice: It's a not perfect method, a very small bug still exists.
library/src/main/java/com/daimajia/slider/library/SliderLayout.java