Skip to content

Commit e39f97c

Browse files
committed
Fix bug #70. Initial delay was hardcoded to 1 second. Now uses delay which was set.
1 parent 8c67460 commit e39f97c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/com/daimajia/slider/library/SliderLayout.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public void handleMessage(Message msg) {
246246
};
247247

248248
public void startAutoCycle(){
249-
startAutoCycle(1000, mSliderDuration, mAutoRecover);
249+
startAutoCycle(mSliderDuration, mSliderDuration, mAutoRecover);
250250
}
251251

252252
/**

0 commit comments

Comments
 (0)