private void postFlippedToPage(final int page) {
        post(new Runnable() {

            @Override
            public void run() {
                if (mOnFlipListener != null) {
                    mOnFlipListener.onFlippedToPage(FlipView.this, page,
                            mAdapter.getItemId(page));
                }
            }
        });
    }
Enable a hardware layer for the view.

@param v
@param drawWithLayer
app/src/main/java/home/smart/fly/animations/customview/flipview/FlipView.java