public void flipTo(int page) {
        if (page < 0 || page > mPageCount - 1) {
            throw new IllegalArgumentException("That page does not exist");
        }
        endFlip();
        setFlipDistance(page * FLIP_DISTANCE_PER_PAGE);
    }
@param adapter a regular ListAdapter, not all methods if the list adapter are
               used by the flipview
app/src/main/java/home/smart/fly/animations/customview/flipview/FlipView.java