Skip to content

2.1.1

Compare
Choose a tag to compare
@wajahatkarim3 wajahatkarim3 released this 09 Nov 08:38
· 23 commits to master since this release
3d80391

Adds setter/getter for flipType and flipDirection and fixes issue #35

// Sets the animation type to horizontal
easyFlipView.setToHorizontalType();

// Sets the animation type to vertical
easyFlipView.setToVerticalType();

// Returns true if the Flip Type of animation is Horizontal?
easyFlipView.isHorizontalType();

// Returns true if the Flip Type of animation is Vertical?
easyFlipView.isVerticalType();

// Sets the animation direction from left (horizontal) and back (vertical)
easyFlipView.setFlipTypeFromLeft();

// Sets the animation direction from right (horizontal) and front (vertical)
easyFlipView.setFlipTypeFromRight();

// Sets the animation direction from front (vertical) and right (horizontal)
easyFlipView.setFlipTypeFromFront();

// Sets the animation direction from back (vertical) and left (horizontal)
easyFlipView.setFlipTypeFromBack();

// Returns the flip type from direction. For horizontal, it will be either right or left and for vertical, it will be front or back.
easyFlipView.getFlipTypeFrom();