Skip to content

Commit 2220d9b

Browse files
authored
Merge pull request smarteist#155 from itsniaz/master
Updated code snippet in README.md
2 parents 3c258d5 + 77003f5 commit 2220d9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ You can call this method if you want to start flipping automatically and you can
178178

179179
```java
180180
sliderView.startAutoCycle();
181-
sliderView.setIndicatorAnimation(IndicatorAnimations.WORM);
181+
sliderView.setIndicatorAnimation(IndicatorAnimationType.WORM);
182182
sliderView.setSliderTransformAnimation(SliderAnimations.SIMPLETRANSFORMATION);
183183
```
184184

@@ -199,7 +199,7 @@ Here is a more realistic and more complete example :
199199

200200
sliderView.setSliderAdapter(adapter);
201201

202-
sliderView.setIndicatorAnimation(IndicatorAnimations.WORM); //set indicator animation by using SliderLayout.IndicatorAnimations. :WORM or THIN_WORM or COLOR or DROP or FILL or NONE or SCALE or SCALE_DOWN or SLIDE and SWAP!!
202+
sliderView.setIndicatorAnimation(IndicatorAnimationType.WORM); //set indicator animation by using IndicatorAnimationType. :WORM or THIN_WORM or COLOR or DROP or FILL or NONE or SCALE or SCALE_DOWN or SLIDE and SWAP!!
203203
sliderView.setSliderTransformAnimation(SliderAnimations.SIMPLETRANSFORMATION);
204204
sliderView.setAutoCycleDirection(SliderView.AUTO_CYCLE_DIRECTION_BACK_AND_FORTH);
205205
sliderView.setIndicatorSelectedColor(Color.WHITE);

0 commit comments

Comments
 (0)