android-FlipView icon indicating copy to clipboard operation
android-FlipView copied to clipboard

Circular fliping

Open zongdongdong opened this issue 9 years ago • 1 comments

I want to back first page in the last page,if you flip next continue.I add event “OnOverFlipListener”. flipViews.setOnOverFlipListener(new FlipView.OnOverFlipListener() { @Override public void onOverFlip(FlipView flipView, OverFlipMode overFlipMode, boolean overFlippingPrevious, float overFlipDistance, float flipDistancePerPage) { if(!overFlippingPrevious&&overFlipDistance>90){ flipViews.flipTo(0); }

        }
    });

then,go to first page,but it have a issue,you can flip previous,then it goes to last page.i need it can't flip previous in the first page.

zongdongdong avatar Jun 17 '15 09:06 zongdongdong

Have you tried to check if current page is not a first page, inside onOverFlip i.e. if(flipView.getCurrentPage()!=0)

?

radekstasiak avatar Oct 14 '15 22:10 radekstasiak