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

Request For Turn Off Auto-Cycling #51

Closed
IrhamMaulani opened this issue Jun 29, 2020 · 2 comments
Closed

Request For Turn Off Auto-Cycling #51

IrhamMaulani opened this issue Jun 29, 2020 · 2 comments
Labels
question Further information is requested

Comments

@IrhamMaulani
Copy link

Halo, I have read the documentation but there is no function to turn off auto-cycling. Could you add function to turn off auto-cycling? thanks

@ouattararomuald ouattararomuald added the question Further information is requested label Jun 29, 2020
@ouattararomuald
Copy link
Owner

Hi,
you can turn it off by adding both attributes on your ImageSlider:

<com.ouattararomuald.slider.ImageSlider
    ...
    app:initWithAutoCycling="false"
    app:autoRecoverAfterTouchEvent="false"
/>

You'll have to do it via xml for now. But I'll quickly enable the feature from code. Thanks for you feedback

@IrhamMaulani
Copy link
Author

oh thank you, this what I need

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants