Skip to content

Commit 2bf385b

Browse files
committed
update README
1 parent ccb2a01 commit 2bf385b

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

README.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Step 1. Add the JitPack repository to your build file
3434
Step 2. Add the dependency
3535

3636
dependencies {
37-
compile 'com.github.codeestX:ECardFlow:v1.0.2'
37+
compile 'com.github.codeestX:ECardFlow:v1.0.3'
3838
}
3939

4040
Step 3. Just use it as a ViewPager
@@ -117,7 +117,7 @@ Step 1. Add the JitPack repository to your build file
117117
Step 2. Add the dependency
118118

119119
dependencies {
120-
compile 'com.github.codeestX:ECardFlow:v1.0.2'
120+
compile 'com.github.codeestX:ECardFlow:v1.0.3'
121121
}
122122

123123
Step 3. Just put a ViewPager in ECardFlowLayout
@@ -167,7 +167,26 @@ You can custom AnimMode with class which implements `AnimMode`
167167
| PathImageProvider | Prividing file path as image resource |
168168
| FileImageProvider | Prividing `File` as image resource |
169169
You can custom ImageProvider with class which implements `ImageProvider`
170-
170+
171+
If you choose `BlurAnimMode`, you can enable `RenderScript` for a high performance.
172+
> Open the build.gradle file in the app folder of your application module.
173+
> Add the following RenderScript settings to the file:
174+
>
175+
> android {
176+
> compileSdkVersion 23
177+
> buildToolsVersion "23.0.3"
178+
>
179+
> defaultConfig {
180+
> minSdkVersion 9
181+
> targetSdkVersion 19
182+
>
183+
> //Enable RenderScript
184+
> renderscriptTargetApi 23
185+
> renderscriptSupportModeEnabled true
186+
> }
187+
> }
188+
>
189+
171190

172191
#License
173192

0 commit comments

Comments
 (0)