private void removeNonDecorViews() {
        for (int i = 0; i < getChildCount(); i++) {
            final View child = getChildAt(i);
            final LayoutParams lp = (LayoutParams) child.getLayoutParams();
            if (!lp.isDecor) {
                removeViewAt(i);
                i--;
            }
        }
    }
Set a PagerAdapter that will supply views for this pager as needed.

@param adapter Adapter to use
dkplayer-sample/src/main/java/xyz/doikki/dkplayer/widget/VerticalViewPager.java