-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delay duration ignored for first slide when activity first started #70
Labels
Comments
Yep, I have a similar situation. Could you give advice how to solve this problem. Thanks a lot) |
Same here :) |
I have also same Problem.:) |
try this ...
mSlider.setPresetTransformer(4);
mSlider.setDuration(8000);
mSlider.stopAutoCycle();
...
final Handler handler = new Handler();
handler.postDelayed(new Runnable() {
@Override
public void run() {
mSlider.startAutoCycle();
}
}, 5000); |
daimajia
added a commit
that referenced
this issue
May 24, 2015
Fix bug #70. Initial delay was hardcoded to 1 second. Now uses delay …
I saw that the issue was fixed by the above commit. But for me, with version 1.1.5 it is not working. I had to implement the above solution to get this working. Anyone knows why? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When you start the activity with the slider and if this is set to auto-cycle, the first image will slide to the next almost instantly even though a delay is set. The .setDuration() delay will work after this initial slide.
Apart from that well done, very nice library!
The text was updated successfully, but these errors were encountered: