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.
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.