emilsjolander / android-FlipView

A small, easy to use android library for implementing flipping between views as seen in the popular Flipboard application
Apache License 2.0
925 stars 273 forks source link

Manage orientation using java code. #69

Open Pkaran01 opened 8 years ago

Pkaran01 commented 8 years ago

Hi First of your lib is very good. i used this https://github.com/openaphid/android-flip but there is lot's of bug. Yesterday i shifted to your lib, it is very compatible with my requirement. only one thing is left. how to manage flip orientation from java code. bcoz i want to give your control to change orientation as per is flexibility.

Pkaran01 commented 8 years ago

I did it. I have added method in FlipView.java

public void setOrientation(int orientation) { mIsFlippingVertically = ((orientation== 0) ? true : false); }