@Override
    public void onPageSelected(int position) {
         if(mItemCount == 0){
            return;
        }
        setItemAsSelected(position-1);
    }
since we used a adapter wrapper, so we can't getCount directly from wrapper.
@return
library/src/main/java/com/daimajia/slider/library/Indicators/PagerIndicator.java