@@ -25,7 +25,7 @@ Changes exist in the [releases](https://github.com/wajahatkarim3/EasyFlipView/re
25
25
Add this in your app's build.gradle file:
26
26
``` groovy
27
27
dependencies {
28
- implementation 'com.wajahatkarim3.EasyFlipView:EasyFlipView:2.1.0 '
28
+ implementation 'com.wajahatkarim3.EasyFlipView:EasyFlipView:2.1.1 '
29
29
}
30
30
```
31
31
@@ -35,7 +35,7 @@ Or add EasyFlipView as a new dependency inside your pom.xml
35
35
<dependency >
36
36
<groupId >com.wajahatkarim3.EasyFlipView</groupId >
37
37
<artifactId >EasyFlipView</artifactId >
38
- <version >2.1.0 </version >
38
+ <version >2.1.1 </version >
39
39
<type >pom</type >
40
40
</dependency >
41
41
```
@@ -160,6 +160,21 @@ mYourFlipView.setToHorizontalType();
160
160
boolean isVertical = mYourFlipView. isVerticalType();
161
161
mYourFlipView. setToVerticalType();
162
162
163
+ // Sets the animation direction from left (horizontal) and back (vertical)
164
+ easyFlipView. setFlipTypeFromLeft();
165
+
166
+ // Sets the animation direction from right (horizontal) and front (vertical)
167
+ easyFlipView. setFlipTypeFromRight();
168
+
169
+ // Sets the animation direction from front (vertical) and right (horizontal)
170
+ easyFlipView. setFlipTypeFromFront();
171
+
172
+ // Sets the animation direction from back (vertical) and left (horizontal)
173
+ easyFlipView. setFlipTypeFromBack();
174
+
175
+ // Returns the flip type from direction. For horizontal, it will be either right or left and for vertical, it will be front or back.
176
+ easyFlipView. getFlipTypeFrom();
177
+
163
178
```
164
179
165
180
Flip Animation Listener
0 commit comments