Skip to content
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

Closed
MarcRubio opened this issue Jan 10, 2015 · 5 comments
Closed
Labels

Comments

@MarcRubio
Copy link
Contributor

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!

@sezya-kot
Copy link

Yep, I have a similar situation. Could you give advice how to solve this problem. Thanks a lot)

@gloushkov
Copy link

Same here :)

@dharmeshpanchal999
Copy link

I have also same Problem.:)

@massimobio massimobio added the bug label May 17, 2015
@cactis
Copy link

cactis commented May 19, 2015

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 …
@andreyluiz
Copy link

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
Labels
Projects
None yet
Development

No branches or pull requests

7 participants