Skip to content

Commit c89ce5b

Browse files
committed
update README
1 parent 2213637 commit c89ce5b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#ECardFlow
22

3+
[![](https://jitpack.io/v/codeestX/ECardFlow.svg)](https://jitpack.io/#codeestX/ECardFlow)
4+
35
ECardFlow, A custom ViewPager for multiple card flow system.designed by [Leo Leung](https://ios.uplabs.com/posts/multiple-card-flow
46
)
57
ECardFlow, 一个用于复数卡片滑动与展开效果的ViewPager控件,设计原型出自[Leo Leung](https://ios.uplabs.com/posts/multiple-card-flow
@@ -22,7 +24,7 @@ Step 1. Add the JitPack repository to your build file
2224
Step 2. Add the dependency
2325

2426
dependencies {
25-
compile 'com.github.codeestX:ECardFlow:v1.0.0'
27+
compile 'com.github.codeestX:ECardFlow:v1.0.1'
2628
}
2729

2830
Step 3. Just use it as a ViewPager
@@ -33,7 +35,7 @@ Step 3. Just use it as a ViewPager
3335
android:layout_height="match_parent"
3436
app:expandMode="slide_up"
3537
app:expandTime="700"
36-
app:switchSpeed="6"
38+
app:switchTime="1200"
3739
app:preloadPageNum="3"
3840
app:maxRotateY="5">
3941

@@ -44,8 +46,8 @@ Step 3. Just use it as a ViewPager
4446
Attrs:
4547

4648
<declare-styleable name="attr">
47-
<!-- Page switching speed, more big,more slowly, default 6 -->
48-
<attr name="switchSpeed" format="integer" />
49+
<!-- Page switch time, default 1200ms -->
50+
<attr name="switchTime" format="integer" />
4951

5052
<!-- Page expand time, default 700ms -->
5153
<attr name="expandTime" format="integer" />
@@ -76,8 +78,6 @@ Java Code:
7678

7779
mEcardflow.shrink();
7880

79-
mEcardflow.setSwitchSpeed(rate);
80-
8181
mEcardflow.setTouchSlop(slop);
8282

8383
mEcardflow.setExpandTime(time);

0 commit comments

Comments
 (0)