Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setToHorizontalType and setToVerticalType not exist #35

Closed
yehe01 opened this issue Nov 9, 2018 · 3 comments
Closed

setToHorizontalType and setToVerticalType not exist #35

yehe01 opened this issue Nov 9, 2018 · 3 comments

Comments

@yehe01
Copy link

yehe01 commented Nov 9, 2018

Version 2.1.0
Can’t find such documented methods in the code.

@wajahatkarim3
Copy link
Owner

Do you want these methods to be included in the library? Because these methods don't exist yet and also not documented anywhere.

@yehe01
Copy link
Author

yehe01 commented Nov 9, 2018

They are in the example code of the readme file. Thought it’s avaliable. Otherwise, How do I create a flip view with horizontal flip animation by code instead of XML?

@wajahatkarim3
Copy link
Owner

wajahatkarim3 commented Nov 9, 2018

@yehe01
I have uploaded a new release 2.1.1 on jcenter. This contains some new methods as here:

// 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();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants